Changeset 3080


Ignore:
Timestamp:
08/10/07 16:09:09 (12 years ago)
Author:
curtis
Message:

Fix problem with getZCTCoords and getIndex for YX dimension orders.

File:
1 edited

Legend:

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

    r3046 r3080  
    135135      throw new IllegalArgumentException("Dimension order is null"); 
    136136    } 
    137     if (!order.startsWith("XY")) { 
     137    if (!order.startsWith("XY") && !order.startsWith("YX")) { 
    138138      throw new IllegalArgumentException("Invalid dimension order: " + order); 
    139139    } 
     
    216216      throw new IllegalArgumentException("Dimension order is null"); 
    217217    } 
    218     if (!order.startsWith("XY")) { 
     218    if (!order.startsWith("XY") && !order.startsWith("YX")) { 
    219219      throw new IllegalArgumentException("Invalid dimension order: " + order); 
    220220    } 
Note: See TracChangeset for help on using the changeset viewer.