Changeset 6919


Ignore:
Timestamp:
09/13/10 08:11:29 (9 years ago)
Author:
callan
Message:

Merging r6917 from Trunk.

Location:
branches/4.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/components/bio-formats/src/loci/formats/in/MetamorphReader.java

    r5711 r6919  
    392392              stks[seriesNdx][pt[seriesNdx]] += "_w" + (j + 1); 
    393393              if (useWaveNames) { 
    394                 stks[seriesNdx][pt[seriesNdx]] += waveNames.get(j); 
     394                String waveName = waveNames.get(j); 
     395                // If there are underscores in the wavelength name, translate 
     396                // them to hyphens. (See #558) 
     397                waveName = waveName.replace('_', '-'); 
     398                stks[seriesNdx][pt[seriesNdx]] += waveName; 
    395399              } 
    396400            } 
Note: See TracChangeset for help on using the changeset viewer.