script management - script IDs/names
Posted: Fri Jan 26, 2018 9:57 pm
Hi team,
I'm using OMERO.scripts extensively to do many tasks and I "omero script launch" those scripts from bash scripts (or other external workflow automation tools). When I upgrade OMERO to a new version I re-insert my OMERO.scripts back into the appropriate OMERO_HOME/lib/scripts/omero/ folder but they will then have a different ID from before. So I keep needing to update my bash scripts with the new script IDs. Is there a way to "fix" the script IDs from version to version?
Or alternatively, can scripts be launched by name instead of ID? I guess I can do a lookup from the "omero script list" result but that sounds a little hokey.
Thanks,
- Damir
I'm using OMERO.scripts extensively to do many tasks and I "omero script launch" those scripts from bash scripts (or other external workflow automation tools). When I upgrade OMERO to a new version I re-insert my OMERO.scripts back into the appropriate OMERO_HOME/lib/scripts/omero/ folder but they will then have a different ID from before. So I keep needing to update my bash scripts with the new script IDs. Is there a way to "fix" the script IDs from version to version?
Or alternatively, can scripts be launched by name instead of ID? I guess I can do a lookup from the "omero script list" result but that sounds a little hokey.
Thanks,
- Damir