Using OMEROPy to connect to remote OMERO.server
Posted:
Fri May 02, 2014 5:51 pm
by icaoberg
In my office, my setup is the following: 1) a node which has OMERO.FS and a 2) HPC cluster without OMERO nor Ice. I would like to be able to use OMEROPy to connect to OMERO.FS on the first node from the HPC. Since OMEROPy is not pip installable -to the best of my knowledge-, can I simply clone the repository, add the OMEROPy to my path and then make a connection using python?
1) Will it work?
2) Is it not advisable to do this?
3) Are there other alternatives that I should consider?
Ivan
Re: Using OMEROPy to connect to remote OMERO.server
Posted:
Fri May 02, 2014 7:04 pm
by jmoore
Hi Ivan,
which version of OMERO and Ice are you using? You can certainly checkout, build, and use dist/lib/python as your PYTHONPATH. Alternatively you can download a matching version from Jenkins. E.g.
http://ci.openmicroscopy.org/view/5.0/job/OMERO-5.0-latest-ice33/lastSuccessfulBuild/artifact/src/target/OMERO.py-5.0.1-542-39f7899-ice33-b3786.zipWould that work?
Cheers,
~Josh
Re: Using OMEROPy to connect to remote OMERO.server
Posted:
Sat May 03, 2014 5:30 pm
by icaoberg
I am running Ice 3.4
Should I then,
1) install Ice 3.4 in my laptop/cluster
2) Download the matching tarball from ci
3) Unzip anywhere and then add it to my PYTHONPATH?
Should that work? Or I am missing a step?
Re: Using OMEROPy to connect to remote OMERO.server
Posted:
Sat May 03, 2014 6:12 pm
by jmoore
Hi Ivan,
yes, you'll need Ice+IcePy on every box. For most functionality, the zip will suffice. For some features, you may want numpy and PyTables too, for example.
Cheers,
~Josh.