[ome-users] Append "original metadata" to already imported images

Thomas Julou thomas.julou at unibas.ch
Fri Apr 1 16:54:05 BST 2016


Hi Josh,

Sorry, I overlooked your answer in the digest… Luckily Seb Besson drew my attention on it recently in a github thread!

Because I?m not familiar with omero scripts, I would like to know first
whether appending ?original metadata? to an already imported image is doable
through the script API.

The original metadata section is parsed on the fly from the fileset by
Bio-Formats. So, it might be doable, but tricky, since it will
potentially require adding to and re-ordering the fileset. And due to
the various issues discussed recently, I'm not completely sure that it
will do what you need. If it *would* work, then I would also thinking
upgrading to a later version of Bio-Formats (on the server-side) would
show you the results anyway.

Other options I can think of:

* re-import the files (never a great thing to suggest, I know, but
often the most practical)
* store the parsed json data in an annotation (which also appears in
the right hand panel) rather than trying to get it into the original
metadata. The primary downside of this is that for newer imported
files the metadata you're looking for (I think!) will be in original
metadata, while in older filesets, it will be in an annotation.

As I understand, what I aimed at is too complicated to be worth doing (because, as their name suggests, it’s not easy to append original metadata). I’ll keep hassling the bio-formats people until the MM reader does what it should and reimport important datasets by then.

Best,
Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20160401/641d8753/attachment.html>


More information about the ome-users mailing list