Changeset 2708


Ignore:
Timestamp:
04/30/07 14:04:55 (13 years ago)
Author:
curtis
Message:

Add warning for mismatch between C sub-dimensions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FormatTools.java

    r2701 r2708  
    336336      } 
    337337      System.out.println(); 
     338      int cProduct = 1; 
    338339      for (int i=0; i<cLengths.length; i++) { 
    339340        System.out.println("\t\t#" + (i + 1) + " = " + 
    340341          cTypes[i] + " (" + cLengths[i] + ")"); 
     342        cProduct *= cLengths[i]; 
     343      } 
     344      if (cLengths.length == 0 || cProduct != sizeC) { 
     345        System.out.println( 
     346          "\t************ Warning: C dimension mismatch ************"); 
    341347      } 
    342348      System.out.println("\tSizeT = " + sizeT); 
Note: See TracChangeset for help on using the changeset viewer.