Changeset 7561


Ignore:
Timestamp:
01/20/11 13:24:11 (9 years ago)
Author:
melissa
Message:

Tweaked MetamorphReader's isThisType to prevent it from picking up files which are legitimately Metamorph TIFFs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/MetamorphReader.java

    r7452 r7561  
    142142    if (ifd.containsKey(METAMORPH_ID)) return true; 
    143143    String software = ifd.getIFDTextValue(IFD.SOFTWARE); 
    144     return software != null && software.trim().startsWith("Meta"); 
     144    return software != null && 
     145      software.trim().toLowerCase().startsWith("metamorph"); 
    145146  } 
    146147 
Note: See TracChangeset for help on using the changeset viewer.