We're Hiring!

How to edit MapAnnotation (key-value pair annotations)?

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please 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

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Re: How to edit MapAnnotation (key-value pair annotations)?

Postby Kouichi_C_Nakamura » Wed Jul 18, 2018 2:22 pm

As discussed in another thread http://www.openmicroscopy.org/community ... f=6&t=8537, I found a problem about ID of MapAnnotation. strToMapAnnotation always uses ID of 1 but it turned out that this will cause chaos in OMERO. At the moment, I need to know the minimum ID number available in OMERO.
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Re: How to edit MapAnnotation (key-value pair annotations)?

Postby Kouichi_C_Nakamura » Thu Jul 19, 2018 9:50 pm

https://github.com/openmicroscopy/openm ... -406093145

Now I feel that It might make more sense if strToMapAnnotation is written as a wrapper of writeMapAnnotation, which is already included in OMERO-MATLAB toolbox.

So I fixed the function strToMapAnnotation in that way:
https://github.com/openmicroscopy/openm ... -138947398
Kouichi_C_Nakamura
 
Posts: 165
Joined: Thu Oct 19, 2017 1:35 pm

Previous

Return to Developer Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron