We're Hiring!

Using OMEROPy to connect to remote OMERO.server

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Using OMEROPy to connect to remote OMERO.server

Postby icaoberg » Fri May 02, 2014 5:51 pm

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
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: Using OMEROPy to connect to remote OMERO.server

Postby jmoore » Fri May 02, 2014 7:04 pm

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.zip

Would that work?
Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Using OMEROPy to connect to remote OMERO.server

Postby icaoberg » Sat May 03, 2014 5:30 pm

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?
icaoberg
 
Posts: 145
Joined: Fri Sep 17, 2010 9:05 pm
Location: Pittsburgh, PA

Re: Using OMEROPy to connect to remote OMERO.server

Postby jmoore » Sat May 03, 2014 6:12 pm

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.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 1 guest