Changeset 2293


Ignore:
Timestamp:
02/16/07 17:07:20 (13 years ago)
Author:
chris
Message:

Notebook:
few minor corrections and Notebook now fully
supports multiple pixels in arbitrary order,
next step is to omit thumbnails if unsupported
id format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/ome/notebook/MetadataPane.java

    r2287 r2293  
    279279  /** Get the OMENode currently being edited.*/ 
    280280  public OMENode getRoot() { return thisOmeNode; } 
     281   
     282  public boolean testThirdParty(IFormatReader read, File file) { 
     283    return false; 
     284  } 
    281285 
    282286  /** Save to the given file.*/ 
     
    285289      //use the node tree in the MetadataPane to write flattened OMECA 
    286290      //to a given file 
     291      if( testThirdParty(reader, file) ) return; 
    287292      if (originalTIFF != null) { 
    288293        String xml = thisOmeNode.writeOME(false); 
     
    486491        images = new BufferedImage[numSeries+1]; 
    487492        thumbs = new BufferedImage[numSeries+1]; 
    488         for(int i = 0; i<=numSeries;i++) { 
     493        for(int i = 0; i<numSeries;i++) { 
     494          if (numSeries > 1) reader.setSeries(id,i); 
    489495          int num = reader.getImageCount(id); 
    490496          if (num > 0) { 
Note: See TracChangeset for help on using the changeset viewer.