Changeset 6111


Ignore:
Timestamp:
04/09/10 09:59:18 (10 years ago)
Author:
melissa
Message:

Fixed how channel indices are reset.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/components/bio-formats/src/loci/formats/in/LeicaHandler.java

    r6105 r6111  
    207207      } 
    208208    } 
    209     else if (qName.equals("ScannerSetting")) { 
    210       nextChannel = 0; 
    211     } 
    212     else if (qName.equals("FilterSetting")) { 
     209    else if (qName.equals("Image")) { 
    213210      nextChannel = 0; 
    214211    } 
  • trunk/components/bio-formats/src/loci/formats/in/LeicaHandler.java

    r6086 r6111  
    216216      } 
    217217    } 
    218     else if (qName.equals("ScannerSetting")) { 
    219       nextChannel = 0; 
    220     } 
    221     else if (qName.equals("FilterSetting")) { 
     218    else if (qName.equals("Image")) { 
    222219      nextChannel = 0; 
    223220    } 
     
    670667 
    671668        if (m != null) { 
     669          String channelID = MetadataTools.createLSID( 
     670            "LogicalChannel", numDatasets, nextChannel); 
     671          store.setLogicalChannelID(channelID, numDatasets, nextChannel); 
    672672          store.setLogicalChannelName(m.dyeName, numDatasets, nextChannel); 
    673673 
Note: See TracChangeset for help on using the changeset viewer.