<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Will,<br>
    <br>
    Thanks for your response.<br>
    <br>
    I'll give the link you've sent a shot and get back to you if need
    be.<br>
    <br>
    Kind regards,<br>
    <br>
    Paul<br>
    <br>
    <div class="moz-cite-prefix">On 16/11/2015 10:41, William Moore
      wrote:<br>
    </div>
    <blockquote
      cite="mid:2842F25B-19AE-42D6-B45B-5537CD36011F@lifesci.dundee.ac.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hi Paul,
      <div><br>
      </div>
      <div> Apologies for not keeping our docs up to date - fixing that
        now.</div>
      <div><br>
      </div>
      <div>You can find the code samples that are used in the docs </div>
      <div>at <a moz-do-not-send="true"
href="https://github.com/openmicroscopy/openmicroscopy/tree/v5.2.0/examples/Training/python">https://github.com/openmicroscopy/openmicroscopy/tree/v5.2.0/examples/Training/python</a></div>
      <div>(I think there's a link to here from the page itself).</div>
      <div><br>
      </div>
      <div>These are more up to date, and are run automatically as part
        of our daily builds</div>
      <div>(although the ROIs.py example was broken for "point" and
        should be fixed in </div>
      <div><a moz-do-not-send="true"
          href="https://github.com/openmicroscopy/openmicroscopy/pull/4331">https://github.com/openmicroscopy/openmicroscopy/pull/4331</a>).</div>
      <div><br>
      </div>
      <div>Hope this example helps.</div>
      <div><br>
      </div>
      <div>If not, let us know what error you're getting.</div>
      <div><br>
      </div>
      <div> Regards,</div>
      <div><br>
      </div>
      <div>  Will</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
        <div>
          <div>On 13 Nov 2015, at 16:37, Paul Kibet Korir <<a
              moz-do-not-send="true" href="mailto:pkorir@ebi.ac.uk">pkorir@ebi.ac.uk</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=windows-1252">
            <div 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 moz-do-not-send="true" 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>
            </div>
            _______________________________________________<br>
            ome-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ome-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a>
</pre>
    </blockquote>
    <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>