Changeset 5661 for branches/4.1


Ignore:
Timestamp:
11/03/09 10:02:26 (11 years ago)
Author:
melissa
Message:

Override fileGroupOption(String) and populate WellSample.ImageRef.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/components/bio-formats/src/loci/formats/in/ScanrReader.java

    r5653 r5661  
    8383 
    8484  // -- IFormatReader API methods -- 
     85 
     86  /* @see loci.formats.IFormatReader#fileGroupOption(String) */ 
     87  public int fileGroupOption(String id) throws FormatException, IOException { 
     88    return FormatTools.MUST_GROUP; 
     89  } 
    8590 
    8691  /* @see loci.formats.IFormatReader#isThisType(String, boolean) */ 
     
    342347 
    343348      store.setWellSampleIndex(new Integer(i), 0, well, field); 
     349      String imageID = MetadataTools.createLSID("Image", i); 
     350      store.setWellSampleImageRef(imageID, 0, well, field); 
     351      store.setImageID(imageID, i); 
    344352 
    345353      String name = "Well " + String.valueOf((char) ('A' + wellRow)) + 
Note: See TracChangeset for help on using the changeset viewer.