We're Hiring!

Using Tags - various questions and issues

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Using Tags - various questions and issues

Postby dsudar » Wed Aug 19, 2015 11:06 pm

Hi all,

Trying to use the tagging feature to improve our workflow and help users find stuff and I'm bumping into a number of issues (on OMERO 5.1.2):

1) Took me a while to figure out how to delete tags using CLI. Good to update the documentation on: http://www.openmicroscopy.org/site/supp ... i/tag.html saying to use: "omero delete TagAnnotation:xxxx"
2) Have not been able to figure out how to delete a TagSet with CLI.
3) One can create tagsets in CLI and Insight but not in Web? And in Insight, one can create a tagset but there is no way to move tags into an existing tagset? And in Web, same problem with moving tags into tagsets.
4) In CLI empty tagsets do not show up at all with "omero tag listsets". And in Web, tagsets cannot be deleted at all.
5) I'd like to use Tag Search from Douglas's great WebTagging (1.2.0) package but it only supports tags associated with projects, datasets, and images and not tags associated with screens and plates. Feature request?

Hope this helps squashing some bugs in future releases.
Thanks,
- Damir
dsudar
 
Posts: 235
Joined: Mon May 14, 2012 8:43 pm
Location: Berkeley, CA, USA

Re: Using Tags - various questions and issues

Postby wmoore » Thu Aug 20, 2015 9:08 am

Hi Damir,

I'm not going to respond to the CLI questions since someone else will handle those...

Tagsets is unfortunately just one of those features where the web client has not caught up with Insight. But this is certainly something that will be addressed at some point.

In Insight, you should be able to "copy" and "paste" tags into Tag Sets (using right-click menu or toolbar buttons) or use drag-n-drop to move them. Also, if you select a Tag Set and create a new Tag, it should be placed in the Tag set.

For webtagging, it would be best if you could create a new Issue on the repo at https://github.com/MicronOxford/webtagging/issues since this app is supported by Oxford.

Many thanks for your feedback,

Will.
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: Using Tags - various questions and issues

Postby cblackburn » Thu Aug 20, 2015 9:25 am

Hi Damir,

First of all, thanks for the feedback. I'll address the CLI issues and let Will get back to you on the web and Insight issues.

dsudar wrote:1) Took me a while to figure out how to delete tags using CLI. Good to update the documentation on: http://www.openmicroscopy.org/site/supp ... i/tag.html saying to use: "omero delete TagAnnotation:xxxx"

Deletion is documented at http://www.openmicroscopy.org/site/supp ... elete.html though deleting a TagAnnotation does not have a direct example. But yes the documentation could definitely be improved, I'll look at improving that with an example and a crosslink.

dsudar wrote:2) Have not been able to figure out how to delete a TagSet with CLI.


A TagSet is itself a TagAnnotation so your delete command above should do the job. By default any Tags in the TagSet will not be deleted:

Code: Select all
$ omero tag list
+- 8:'Set2'
|\
| +- 6:'Tag6'
| +- 5:'Tag5'
| +- 4:'Tag4'

+- 7:'Set2'
|\
| +- 5:'Tag5'
| +- 4:'Tag4'
| +- 3:'Tag3'

$ omero delete TagAnnotation:8
omero.cmd.Delete2 TagAnnotation 8... ok

$ omero tag list
+- 7:'Set2'
|\
| +- 5:'Tag5'
| +- 4:'Tag4'
| +- 3:'Tag3'

Orphaned tags:
> 6:'Tag6'

but you can force the Tags in the TagSet to be deleted (depending on permissions and ownership):

Code: Select all
$ omero delete TagAnnotation:7 --include TagAnnotation
omero.cmd.Delete2 TagAnnotation 7... ok
$ omero tag list
Orphaned tags:
> 6:'Tag6'


dsudar wrote:4) In CLI empty tagsets do not show up at all with "omero tag listsets".

Thanks, I've added a card https://trello.com/c/ZV7AexGM/44-cli-list-empty-tagsets to deal with this in some ongoing CLI work.

Cheers,

Colin
cblackburn
 
Posts: 85
Joined: Mon May 25, 2009 9:03 pm

Re: Using Tags - various questions and issues

Postby dsudar » Sat Aug 22, 2015 7:17 pm

Thanks Will and Colin. Very helpful responses
Damir
dsudar
 
Posts: 235
Joined: Mon May 14, 2012 8:43 pm
Location: Berkeley, CA, USA

Re: Using Tags - various questions and issues

Postby mtbc » Tue Aug 25, 2015 1:04 pm

Colin provides fine examples but unfortunately "--include" is rarely used and turns out to be overzealous: "--include TagAnnotation" could even delete other tag sets! I think that https://github.com/mtbc/openmicroscopy/commit/bebb09d3 fixes this and, once properly checked, that or some other fix should make it into OMERO 5.1.4. My apologies for not noticing this problem much sooner.

Cheers,

Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest