Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions active_plugins/runcellpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,8 @@ def run(self, workspace):
cellpose_output = numpy.load(os.path.join(temp_img_dir, unique_name + "_seg.npy"), allow_pickle=True).item()
y_data = cellpose_output["masks"]
flows = cellpose_output["flows"]
except FileNotFoundError:
raise(FileNotFoundError("I'm sorry, Cellpose seems to have crashed and I'm not sure why, since it's in its own container."))
finally:
# Delete the temporary files
try:
Expand Down