Changeset 7581 for trunk


Ignore:
Timestamp:
01/24/11 15:50:11 (9 years ago)
Author:
melissa
Message:

Prevent extra Plane(Timing).ExposureTime attributes from being populated.

File:
1 edited

Legend:

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

    r7317 r7581  
    508508        Channel channel = channels.get(numDatasets + "-" + c); 
    509509        if (channel == null) channel = new Channel(); 
    510         if (id.endsWith("ExposureTime")) { 
     510        if (id.endsWith("ExposureTime") && c < numChannels) { 
    511511          try { 
    512512            store.setPlaneExposureTime(new Double(value), numDatasets, c); 
Note: See TracChangeset for help on using the changeset viewer.