Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8148 (closed)

Opened 7 years ago

Closed 7 years ago

ImageInfo NO <SA>

Reported by: wmoore Owned by: wmoore
Priority: minor Milestone: OMERO-4.4
Component: Bio-Formats Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Using

$ java -Xmx512m loci.formats.tools.ImageInfo -nopix -omexml-only /User

to generate ome.xml produces many (E.g. 11000) Structured Annotations. This is a pain when trying to work with the rest of the OME.xml since the file is hundreds of times bigger than it needs to be. I have been removing all <SA> blocks manually, but it would be nice to have this option on the command line above.

E.g.

<XMLAnnotation ID="Annotation:11856">
 <Value>
    <OriginalMetadata xmlns="openmicroscopy.org/OriginalMetadata">
       <Key>image 01 - XYCh-10x HardwareSetting|LDM_Block_Sequential|ATLConfocalSettingDefinition|Aotf|LaserLineSetting|AOBSIntensityLowDev 5</Key>
       <Value>-1</Value>
    </OriginalMetadata>
 </Value>
</XMLAnnotation>

Change History (2)

comment:1 Changed 7 years ago by mlinkert

  • Owner changed from mlinkert-x to wmoore

Should be sorted with this commit: https://github.com/melissalinkert/bioformats/commit/eeb5720f67fb3d29cebbf0a91a6603ce60d3b9ca

Just add the '-no-sas' option, and the StructuredAnnotations should disappear; passing back to you, Will, for verification.

comment:2 Changed 7 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

Working fine:
for the record - E.g.

$ java -Xmx512m loci.formats.tools.ImageInfo -nopix -omexml-only -no-sas -xmlspaces 4 /Users/will/Documents/biology-data/Test-Import-Images/Leica\ LEI/brian/tropo/tropo.lei
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.73388 sec.)

We're Hiring!