MouseLand / cellpose

a generalist algorithm for cellular segmentation with human-in-the-loop capabilities
https://www.cellpose.org/
BSD 3-Clause "New" or "Revised" License
1.24k stars 359 forks source link

[BUG] #958

Open TAN-epic opened 2 weeks ago

TAN-epic commented 2 weeks ago

Describe the bug Image cannot be exported

To Reproduce Steps to reproduce the behavior:

  1. Go to 'FILE'
  2. Click on 'save Flows and cellprob as tif'
  3. See error

Run log GUI_INFO: creating cellcolors and drawing masks Traceback (most recent call last): File "C:\APP\cellspose\envs\cellpose\lib\site-packages\cellpose\gui\menus.py", line 68, in parent.saveFlows.triggered.connect(lambda: io._save_flows(parent)) File "C:\APP\cellspose\envs\cellpose\lib\site-packages\cellpose\gui\io.py", line 580, in _save_flows imsave(base + "_cp_flows.tif", parent.flows[4][:-1]) IndexError: list index out of range

Screenshots image