We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bce3a2 commit 9398103Copy full SHA for 9398103
1 file changed
active_plugins/runcellpose.py
@@ -1000,6 +1000,8 @@ def run(self, workspace):
1000
cellpose_output = numpy.load(os.path.join(temp_img_dir, unique_name + "_seg.npy"), allow_pickle=True).item()
1001
y_data = cellpose_output["masks"]
1002
flows = cellpose_output["flows"]
1003
+ except FileNotFoundError:
1004
+ raise(FileNotFoundError("I'm sorry, Cellpose seems to have crashed and I'm not sure why, since it's in its own container."))
1005
finally:
1006
# Delete the temporary files
1007
try:
0 commit comments