We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15471d6 + 2eb8ee2 commit 9940dafCopy full SHA for 9940daf
1 file changed
src/imcflibs/imagej/omerotools.py
@@ -57,6 +57,12 @@ def parse_url(client, omero_str):
57
>>> for wrapper in img_wrappers:
58
>>> imp = wpr.toImagePlus(client)
59
"""
60
+ if not str(omero_str).strip():
61
+ raise ValueError("No OMERO link or image ID provided.")
62
+
63
+ # Sanitize the string
64
+ omero_str = omero_str.strip()
65
66
image_ids = []
67
dataset_ids = []
68
image_wpr_list = []
0 commit comments