You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Propagating deletion of cells causes errors because of missing frames. For details on how to reproduce it, please see the corresponding section.
Way to reproduce:
Try to delete a cell with a middle mouse click while having visited a future frame, then choose the option to propagate to all frames.
Propagating only to frames that were already visited works fine.
(Optional) Link to data to reproduce error:
No response
Terminal output:
[ERROR]: Traceback (most recent call last):
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\__init__.py", line 491, in inner_function
result = func(self, *args)
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\gui.py", line 4950, in gui_mousePressEventImg2
delID_mask = self.deleteIDmiddleClick(
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\gui.py", line 23059, in deleteIDmiddleClick
lab, _ = self.deleteIDFromLab(lab, delID)
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\gui.py", line 23023, in deleteIDFromLab
delMask = np.zeros(lab.shape, dtype=bool)
AttributeError: 'NoneType' object has no attribute 'shape'
[ERROR]: Traceback (most recent call last):
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\__init__.py", line 491, in inner_function
result = func(self, *args)
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\gui.py", line 4950, in gui_mousePressEventImg2
delID_mask = self.deleteIDmiddleClick(
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\gui.py", line 23059, in deleteIDmiddleClick
lab, _ = self.deleteIDFromLab(lab, delID)
File "C:\Users\SchmollerLab\CellACDC_dev\Cell_ACDC\cellacdc\gui.py", line 23023, in deleteIDFromLab
delMask = np.zeros(lab.shape, dtype=bool)
AttributeError: 'NoneType' object has no attribute 'shape'
Log file:
No response
Version information:
>
3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
C:\Users\SchmollerLab\.virtualenvs\acdc_dev
Windows-10-10.0.19045-SP0
Cell-ACDC version: 1.4.32.dev145+g3dd1f878
The text was updated successfully, but these errors were encountered:
Also from the error message I can see that the error happens in the function deleteIDmiddleClick which is called upon clicking on the cell and not when propagating to future frames.
Can you please check if you can replicate the error? Thanks!
Description:
Propagating deletion of cells causes errors because of missing frames. For details on how to reproduce it, please see the corresponding section.
Way to reproduce:
Try to delete a cell with a middle mouse click while having visited a future frame, then choose the option to propagate to all frames.
Propagating only to frames that were already visited works fine.
(Optional) Link to data to reproduce error:
No response
Terminal output:
Log file:
No response
Version information:
The text was updated successfully, but these errors were encountered: