Changeset 4794


Ignore:
Timestamp:
02/10/09 09:48:12 (11 years ago)
Author:
melissa
Message:

Explicitly set the Detector ID.

File:
1 edited

Legend:

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

    r4787 r4794  
    300300          } 
    301301          else if (key.endsWith("HighVoltage")) { 
    302             store.setDetectorVoltage(new Float(value), 0, 0); 
    303             store.setDetectorType("Unknown", 0, 0); 
    304  
    305302            if (!detectorNames.contains(object)) { 
    306303              detectorNames.add(object); 
    307304            } 
    308305            int detector = detectorNames.indexOf(object); 
     306            store.setDetectorID("Detector:" + detector, 0, detector); 
     307            store.setDetectorVoltage(new Float(value), 0, detector); 
     308            store.setDetectorType("Unknown", 0, detector); 
    309309            store.setDetectorSettingsDetector("Detector:" + detector, 
    310310              seriesNames.size() - 1, nextDetector); 
Note: See TracChangeset for help on using the changeset viewer.