[ome-users] Update Examples for OMERO 5.2
Paul Kibet Korir
pkorir at ebi.ac.uk
Fri Nov 13 16:37:09 GMT 2015
Greetings!
I'm working my way through examples for OMERO 5.2 at the link below.
https://www.openmicroscopy.org/site/support/omero5.2/developers/Python.html
The location of functions appears to have changed.
*Examples:*
---
rect = omero.model.RectI()
rect.x = rdouble(x)
...
rect.theT = rint(theT)
rect.textValue = rstring("test-Rectangle")
---
which work with
---
import omero.rtypes
rect = omero.model.RectangleI()
rect.x = omero.rtypes.rdouble()
...
rect.theT = omero.rtypes.rint(theT)
rect.setTextValue(omero.rtypes.rstring("test-Rectangle"))
---
However, I can't figure out how what the correct format for this should be:
r = updateService.saveAndReturnObject(roi)
# the 'saveAndReturnObject(roi) method doesn't seem to exist anymore
What is the current rendering of this?
Could someone update the documentation to reflect the above changes?
--
With kind regards,
*Paul K Korir, PhD*
/Scientific Programmer/
EMBL-EBI
Main Building, A2-35,
WTGC, Hinxton, Cambridge CB10 1SD
P: +44 1223 49 44 22
F: +44 1223 49 44 68
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20151113/e76603ec/attachment.html>
More information about the ome-users
mailing list