Changeset 4272


Ignore:
Timestamp:
08/01/08 01:48:00 (12 years ago)
Author:
melissa
Message:

Fix for datasets that don't have .stk files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/MetamorphReader.java

    r4200 r4272  
    4646 
    4747  public static final String[] ND_SUFFIX = {"nd"}; 
    48   public static final String[] STK_SUFFIX = {"stk"}; 
     48  public static final String[] STK_SUFFIX = {"stk", "tif", "tiff"}; 
    4949 
    5050  // IFD tag numbers of important fields 
     
    157157  protected void initFile(String id) throws FormatException, IOException { 
    158158    if (checkSuffix(id, ND_SUFFIX)) { 
    159       super.initFile(id); 
    160  
    161159      // find an associated STK file 
    162160      String stkFile = id.substring(0, id.lastIndexOf(".")); 
Note: See TracChangeset for help on using the changeset viewer.