Hi all
while testing your OMERO_batch_projection.py script I noticed:
parse_url:
- Lines 113-117 should be removed (they do not do anything)
|
image_ids = ( |
|
[s.split("%")[0].replace("|", "") for s in omero_str.split("image-")[1:]] |
|
if "image-" in omero_str |
|
else omero_str.split(",") |
|
) |
- Does not work with plain dataset ID. Running on dataset IDs results in an error.This would require checking if the supplied ID (e.g. 12345) is a Dataset, Project, or Image.
upload_image_to_omero:
It would be nice if it would check if the path exists and if not: raise a FileNotFoundError.
I can do a PR if you like, let me know!
Hi all
while testing your
OMERO_batch_projection.pyscript I noticed:parse_url:python-imcflibs/src/imcflibs/imagej/omerotools.py
Lines 113 to 117 in 1f6b508
upload_image_to_omero:It would be nice if it would check if the path exists and if not: raise a
FileNotFoundError.I can do a PR if you like, let me know!