ome / omero-py

Python project containing Ice remoting code for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
22 stars 32 forks source link

Ignore OMERO_HOME in omero with warning #148

Closed will-moore closed 4 years ago

will-moore commented 4 years ago

See https://forum.image.sc/t/omero-python-3-5-6-milestone-for-upgrade-testing/32120/3

OMERO_HOME shouldn't be used any more, but we still try to read it. This now ignores OMERO_HOME (but prints a warning that it is being ignored).

To test:

$ export OMERO_HOME=/path/to/somewhere
# any omero command
$ omero -h
WARN: OMERO_HOME usage is deprecated in omero-py
joshmoore commented 4 years ago

Same decision to be made on ignoring as in https://github.com/ome/omero-web/pull/98#issuecomment-566986551