Changeset 5746


Ignore:
Timestamp:
12/17/09 08:50:52 (10 years ago)
Author:
melissa
Message:

Fixed bug in exposure time parsing, thanks to Simon Blanchoud.

File:
1 edited

Legend:

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

    r5743 r5746  
    868868          addSeriesMeta(key, value); 
    869869          if (key.equals("Exposure")) { 
    870             if (value.indexOf(" ") != -1) { 
     870            if (value.indexOf("=") != -1) { 
     871              value = value.substring(value.indexOf("=") + 1).trim(); 
     872            } 
     873            else if (value.indexOf(" ") != -1) { 
    871874              value = value.substring(0, value.indexOf(" ")); 
    872875            } 
Note: See TracChangeset for help on using the changeset viewer.