ome / omero-metadata

OMERO plugin for metadata manipulation https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 13 forks source link

Add deletebulkanns #52

Closed manics closed 3 years ago

manics commented 3 years ago

New command to delete bulk annotation tables.

# Dry run
$ omero metadata deletebulkanns Project:1352 -n 
Using session for ...
FileAnnotation:27481235

# Delete
$ omero metadata deletebulkanns Project:1352 
Using session for ...
FileAnnotation:27481235

# Nothing left
$ omero metadata deletebulkanns Project:1352
Using session for ...
dominikl commented 3 years ago

Thanks @manics , makes re-annotating a bit easier! PR looks good to me and works as expected 👍

sbesson commented 3 years ago

Thanks. Should we release this as 0.7.0 ?

manics commented 3 years ago

Might as well!

will-moore commented 3 years ago

It would be great to add this to the IDR submission workflow

sbesson commented 3 years ago

Now released as https://pypi.org/project/omero-metadata/0.7.0/.

Big :+1: for consuming in the IDR curation workflow and replace the queries although this might require a separate deployment PR to ensure the omero-metadata installed on the server includes the feature.