[ome-users] Deleting an ROI
Paul Kibet Korir
pkorir at ebi.ac.uk
Tue Jan 26 09:18:19 GMT 2016
Excellent! That's definitely better than waiting.
Thank you very much.
Paul
On 25/01/2016 21:30, William Moore wrote:
> Hi Paul,
>
> In fact, the Blitz Gateway gives you a short cut if you don’t
> actually need to handle the
> delete response yourself.
> You can simply use wait=True, and the delete will be done before this
> returns.
>
> conn.deleteObjects("Roi", [roiId], wait=True)
>
> I’ve added an example of this, and updated the docs as you suggested in
> https://github.com/openmicroscopy/openmicroscopy/pull/4442
>
> Cheers,
>
> Will.
>
>
>
>> On 21 Jan 2016, at 13:10, Paul Kibet Korir <pkorir at ebi.ac.uk
>> <mailto:pkorir at ebi.ac.uk>> wrote:
>>
>> Thanks. Including the callback worked.
>>
>> P
>>
>> On 21/01/2016 11:56, Mark Carroll wrote:
>>> On 01/21/2016 11:47 AM, Paul Kibet Korir wrote:
>>> (snip)
>>>> handle = conn.deleteObjects(
>>>> "Roi",
>>>> obj_ids,
>>>> deleteAnns=True,
>>>> deleteChildren=True
>>>> )
>>>>
>>>>
>>>> conn._closeSession()
>>>>
>>>> What could I be doing wrong?
>>>
>>> Thank you for sharing your test code. Try the next bit of code from the
>>> same page, "Retrieve callback and wait until delete completes". (-: You
>>> can probably just paste it in verbatim.
>>>
>>> -- Mark
>>>
>>> The University of Dundee is a registered Scottish Charity, No: SC015096
>>> _______________________________________________
>>> ome-users mailing list
>>> ome-users at lists.openmicroscopy.org.uk
>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>>
>> --
>> 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
>> _______________________________________________
>> ome-users mailing list
>> ome-users at lists.openmicroscopy.org.uk
>> <mailto:ome-users at lists.openmicroscopy.org.uk>
>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
>
>
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
--
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/20160126/3b70df6e/attachment.html>
More information about the ome-users
mailing list