Changeset 3205


Ignore:
Timestamp:
10/01/07 12:34:51 (12 years ago)
Author:
melissa
Message:

Don't create a StageLabel if all values are null.

File:
1 edited

Legend:

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

    r3197 r3205  
    690690        stageY = y == null ? null : new Float((String) y); 
    691691      } 
    692       store.setStageLabel(null, stageX, stageY, null, null); 
     692      if (stageX != null || stageY != null) { 
     693        store.setStageLabel(null, stageX, stageY, null, null); 
     694      } 
    693695 
    694696      // populate Instrument element 
Note: See TracChangeset for help on using the changeset viewer.