Skip to content
Merged
Changes from 2 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
6 changes: 6 additions & 0 deletions src/imcflibs/imagej/omerotools.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ def parse_url(client, omero_str):
>>> for wrapper in img_wrappers:
>>> imp = wpr.toImagePlus(client)
"""
if omero_str is None or str(omero_str).strip() == "":
Comment thread
rohangirishrao marked this conversation as resolved.
Outdated
raise ValueError("No OMERO link or image ID provided.")

# Sanitize the string
omero_str = omero_str.strip()

image_ids = []
dataset_ids = []
image_wpr_list = []
Expand Down
Loading