Page 1 of 1

Tag list creation disabling and tags in a database/sql

PostPosted: Tue Sep 27, 2016 4:24 pm
by shaneklumpp
Hi all. Looking for some clarification on tagging images within an OMERO system. We're dealing with a problem where we want our users to tag their images from a specific set of tags that we have set up from our end. We do not want users creating their own tags, as we need tags to follow a SOP so we can accurately and efficiently search for images without guessing what tags people used (for example, when tagging for breast invasive carcinoma, we want the tag of BRCA used, not brca or Brca or any other type. we want it to be standardized).

Can you disable users from creating tags and only use tags from a certain set of previously created tags.

Also, can a tag list come from a database, or how is tagging set up within OMERO? Can we create this dynamic tag database, and how can we access it for using tags.

Thank you for everyone's help, I hope i was clear in what I was asking for.

Shane Klumpp

Re: Tag list creation disabling and tags in a database/sql

PostPosted: Wed Sep 28, 2016 11:14 am
by jmoore
Hi Shane,

shaneklumpp wrote:Can you disable users from creating tags and only use tags from a certain set of previously created tags.


There's no configuration or security setting for this at the moment. Likely the most straight-forward solution is to disable it at the database level using a trigger. We'll certainly keep such a setting in mind for the future.

Also, can a tag list come from a database, or how is tagging set up within OMERO? Can we create this dynamic tag database, and how can we access it for using tags.


Sure, at least before you've disabled it at the database level. See https://www.openmicroscopy.org/site/support/omero5.2/users/cli/tag.html for an example of how to manage tags from the command-line. Alternatively, a Python script or a Java application could do the work fairly straight-forwardly. Alternatively, you can update the database directly.

All the best,
~Josh

Re: Tag list creation disabling and tags in a database/sql

PostPosted: Wed Sep 28, 2016 4:09 pm
by shaneklumpp
Thank you for the information and links Josh. I will work on this.

Shane