Changeset 5753


Ignore:
Timestamp:
12/18/09 09:20:47 (10 years ago)
Author:
melissa
Message:

Catch NumberFormatException when parsing stage positions. Closes #454.

File:
1 edited

Legend:

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

    r5752 r5753  
    551551          for (int q=j + 2; q<tokens.length; q++) { 
    552552            if (!tokens[q].trim().equals("")) { 
    553               zPositions.add(new Double(tokens[q].trim())); 
     553              try { 
     554                zPositions.add(new Double(tokens[q].trim())); 
     555              } 
     556              catch (NumberFormatException e) { } 
    554557            } 
    555558          } 
Note: See TracChangeset for help on using the changeset viewer.