Changeset 4040


Ignore:
Timestamp:
05/13/08 20:01:56 (12 years ago)
Author:
melissa
Message:

Make sure C is before Z and T in dimension order string if the stack is RGB.

File:
1 edited

Legend:

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

    r4037 r4040  
    370370      } 
    371371      if (core.sizeC[0] == 0) core.sizeC[0] = 1; 
     372 
     373      if (core.rgb[0]) { 
     374        // shuffle C to front of order string 
     375        core.currentOrder[0] = core.currentOrder[0].replaceAll("C", ""); 
     376        core.currentOrder[0] = core.currentOrder[0].replaceAll("XY", "XYC"); 
     377      } 
    372378 
    373379      put("DimensionZ", core.sizeZ[0]); 
Note: See TracChangeset for help on using the changeset viewer.