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
The weighted masks ops.npy file output contains a value of zero for the diameter. When loading this file into the suite2p UI, a divide by zero error is raised (see below)
Reproduce the code example:
n/a: UsingUI
Error message:
Traceback (most recent call last):
File "C:\Users\jinho.kim\Anaconda3\envs\suite2p\lib\site-packages\suite2p\gui\gui2p.py", line 135, in dropEvent
io.load_proc(self)
File "C:\Users\jinho.kim\Anaconda3\envs\suite2p\lib\site-packages\suite2p\gui\io.py", line 308, in load_proc
load_to_GUI(parent, basename, output)
File "C:\Users\jinho.kim\Anaconda3\envs\suite2p\lib\site-packages\suite2p\gui\io.py", line 334, in load_to_GUI
make_masks_and_enable_buttons(parent)
File "C:\Users\jinho.kim\Anaconda3\envs\suite2p\lib\site-packages\suite2p\gui\io.py", line 94, in make_masks_and_enable_buttons
parent.xyrat = parent.ops["diameter"][0] / parent.ops["diameter"][1]
ZeroDivisionError: division by zero
Describe the issue:
We use suite2p to run segmentation on our motion corrected files. We set the arguments to run cellpose segmentation in suite2p as follows:
The weighted masks ops.npy file output contains a value of zero for the diameter. When loading this file into the suite2p UI, a divide by zero error is raised (see below)
Reproduce the code example:
Error message:
Version information:
v0.10.2 (suite2p processing)
0.11.2.dev51+g8f1a088 (suite2p GUI)
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: