<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Greetings!<br>
<br>
I'm working my way through examples for OMERO 5.2 at the link below.<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.openmicroscopy.org/site/support/omero5.2/developers/Python.html">https://www.openmicroscopy.org/site/support/omero5.2/developers/Python.html</a><br>
<br>
The location of functions appears to have changed.<br>
<br>
<b>Examples:</b><br>
---<br>
rect = omero.model.RectI()<br>
rect.x = rdouble(x)<br>
...<br>
rect.theT = rint(theT)<br>
rect.textValue = rstring("test-Rectangle")<br>
---<br>
<br>
which work with<br>
<br>
---<br>
import omero.rtypes<br>
rect = omero.model.RectangleI()<br>
rect.x = omero.rtypes.rdouble()<br>
...<br>
rect.theT = omero.rtypes.rint(theT)<br>
rect.setTextValue(omero.rtypes.rstring("test-Rectangle"))<br>
---<br>
<br>
However, I can't figure out how what the correct format for this
should be:<br>
<br>
r = updateService.saveAndReturnObject(roi) <br>
# the 'saveAndReturnObject(roi) method doesn't seem to exist anymore<br>
<br>
What is the current rendering of this?<br>
<br>
Could someone update the documentation to reflect the above changes?
<br>
<br>
<div class="moz-signature">-- <br>
With kind regards,<br>
<br>
<strong>Paul K Korir, PhD</strong><br>
<i>Scientific Programmer</i><br>
EMBL-EBI<br>
Main Building, A2-35,<br>
WTGC, Hinxton, Cambridge CB10 1SD<br>
P: +44 1223 49 44 22<br>
F: +44 1223 49 44 68</div>
</body>
</html>