Changeset 3082


Ignore:
Timestamp:
08/14/07 11:38:04 (13 years ago)
Author:
curtis
Message:

Fix bug Christophe Leterrier found with missing series names.

File:
1 edited

Legend:

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

    r3023 r3082  
    470470          int firstUnderscore = prefix.indexOf("_") + 1; 
    471471          int secondUnderscore = prefix.indexOf("_", firstUnderscore); 
     472          String name = null; 
    472473          if (firstUnderscore != -1 && secondUnderscore != -1) { 
    473474            String s = prefix.substring(firstUnderscore, secondUnderscore); 
    474             if (!seriesNames.contains(s)) seriesNames.add(s); 
     475            if (!seriesNames.contains(s)) name = s; 
    475476          } 
     477          seriesNames.add(null); 
    476478        } 
    477479 
Note: See TracChangeset for help on using the changeset viewer.