Hi Jacques,
- how to reliably know if an images was imported with omero 4 ? (to safeguard against user mistakes)
There's an OMERO cmd you can use
ManageImageBinariesResponse. This is equivalent though to checking whether or not an image is contained in a fileset:
- Code: Select all
select i from Image i where i.fileset is null
- will omero (program in shell) and python library be by default into the PATH and PYTHONPATH if running an omero web script ? If not, what should I do to get them in ?
Everything should be present since it will all be configured by the `bin/omero` command. If this doesn't match your experience, let us know. Note: it is also possible to not use a subprocess and instead use the `client` object directly if you run into any issues with starting a new Python interpreter.
- Could it be run using insight client (then, how to ensure that it runs on the server ? Or insight embed python runtime and omero command line ?)
If your script is installed as a
Users Script, then yes, it can be run via Insight as well.
Cheers,
~Josh
P.S. it's great that this is working for you, but I still have some concern that this shouldn't be necessary. The underlying slowness is certainly not intended and should be considered a bug, even if we have not yet reproduced.