<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks. Including the callback worked.<br>
    <br>
    P<br>
    <br>
    <div class="moz-cite-prefix">On 21/01/2016 11:56, Mark Carroll
      wrote:<br>
    </div>
    <blockquote cite="mid:56A0C76E.3010802@dundee.ac.uk" type="cite">On
      01/21/2016 11:47 AM, Paul Kibet Korir wrote:
      <br>
      (snip)
      <br>
      <blockquote type="cite">     handle = conn.deleteObjects(
        <br>
                 "Roi",
        <br>
                 obj_ids,
        <br>
                 deleteAnns=True,
        <br>
                 deleteChildren=True
        <br>
                 )
        <br>
        <br>
        <br>
             conn._closeSession()
        <br>
        <br>
        What could I be doing wrong?
        <br>
      </blockquote>
      <br>
      Thank you for sharing your test code. Try the next bit of code
      from the
      <br>
      same page, "Retrieve callback and wait until delete completes".
      (-: You
      <br>
      can probably just paste it in verbatim.
      <br>
      <br>
      -- Mark
      <br>
      <br>
      The University of Dundee is a registered Scottish Charity, No:
      SC015096
      <br>
      _______________________________________________
      <br>
      ome-users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" 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>
    <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>