Changeset 6256


Ignore:
Timestamp:
05/10/10 14:09:15 (10 years ago)
Author:
melissa
Message:

Added command line flag to disable file grouping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/tools/ImageInfo.java

    r6208 r6256  
    9292  private boolean merge = false; 
    9393  private boolean stitch = false; 
     94  private boolean group = true; 
    9495  private boolean separate = false; 
    9596  private boolean expand = false; 
     
    133134    merge = false; 
    134135    stitch = false; 
     136    group = true; 
    135137    separate = false; 
    136138    expand = false; 
     
    163165        else if (args[i].equals("-merge")) merge = true; 
    164166        else if (args[i].equals("-stitch")) stitch = true; 
     167        else if (args[i].equals("-nogroup")) group = false; 
    165168        else if (args[i].equals("-separate")) separate = true; 
    166169        else if (args[i].equals("-expand")) expand = true; 
     
    218221      "To test read a file in " + fmt + " format, run:", 
    219222      "  showinf file [-nopix] [-nocore] [-nometa] [-thumbs] [-minmax] ", 
    220       "    [-merge] [-stitch] [-separate] [-expand] [-omexml]", 
     223      "    [-merge] [-group] [-stitch] [-separate] [-expand] [-omexml]", 
    221224      "    [-normalize] [-fast] [-debug] [-range start end] [-series num]", 
    222225      "    [-swap inputOrder] [-shuffle outputOrder] [-map id] [-preload]", 
     
    232235      "    -minmax: compute min/max statistics", 
    233236      "     -merge: combine separate channels into RGB image", 
     237      "     -group: force multi-file datasets to be read as individual files", 
    234238      "    -stitch: stitch files with similar names", 
    235239      "  -separate: split RGB image into separate channels", 
     
    354358    reader.setNormalized(normalize); 
    355359    reader.setMetadataFiltered(filter); 
     360    reader.setGroupFiles(group); 
    356361    MetadataOptions metaOptions = new DefaultMetadataOptions(doMeta ? 
    357362      MetadataLevel.ALL : MetadataLevel.MINIMUM); 
Note: See TracChangeset for help on using the changeset viewer.