Changeset 6546


Ignore:
Timestamp:
06/21/10 17:00:53 (9 years ago)
Author:
melissa
Message:

Fixed compile errors introduced in r6531.

Location:
trunk/components/bio-formats/utils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/utils/MinimumWriter.java

    r6491 r6546  
    5858    meta.setPixelsSizeT(new PositiveInteger(1), 0); 
    5959    meta.setChannelID("Channel:0:0", 0, 0); 
    60     meta.setChannelSamplesPerPixel(1, 0, 0); 
     60    meta.setChannelSamplesPerPixel(new PositiveInteger(1), 0, 0); 
    6161 
    6262    // write image plane to disk 
  • trunk/components/bio-formats/utils/PrintTimestamps.java

    r6241 r6546  
    1212import loci.formats.meta.IMetadata; 
    1313import loci.formats.services.OMEXMLService; 
     14import ome.xml.model.primitives.NonNegativeInteger; 
    1415 
    1516/** 
     
    6869      if (deltaT == null) continue; 
    6970      // convert plane ZCT coordinates into image plane index 
    70       int z = meta.getPlaneTheZ(series, i).intValue(); 
    71       int c = meta.getPlaneTheC(series, i).intValue(); 
    72       int t = meta.getPlaneTheT(series, i).intValue(); 
     71      int z = meta.getPlaneTheZ(series, i).getValue().intValue(); 
     72      int c = meta.getPlaneTheC(series, i).getValue().intValue(); 
     73      int t = meta.getPlaneTheT(series, i).getValue().intValue(); 
    7374      if (z == 0 && c == 0) { 
    7475        System.out.println("\tTimepoint #" + t + " = " + deltaT + " s"); 
     
    9495      if (deltaT == null) continue; 
    9596      // convert plane ZCT coordinates into image plane index 
    96       int z = meta.getPlaneTheZ(series, i).intValue(); 
    97       int c = meta.getPlaneTheC(series, i).intValue(); 
    98       int t = meta.getPlaneTheT(series, i).intValue(); 
     97      int z = meta.getPlaneTheZ(series, i).getValue().intValue(); 
     98      int c = meta.getPlaneTheC(series, i).getValue().intValue(); 
     99      int t = meta.getPlaneTheT(series, i).getValue().intValue(); 
    99100      System.out.println("\tZ " + z + ", C " + c + ", T " + t + " = " + 
    100101        deltaT + " s"); 
  • trunk/components/bio-formats/utils/WriteRGBMovie.java

    r6458 r6546  
    6161    meta.setPixelsSizeC(new PositiveInteger(numChannels), 0); 
    6262    meta.setPixelsSizeT(new PositiveInteger(numFrames), 0); 
    63     meta.setChannelSamplesPerPixel(numChannels, 0, 0); 
     63    meta.setChannelSamplesPerPixel(new PositiveInteger(numChannels), 0, 0); 
    6464 
    6565    // write image planes to disk 
Note: See TracChangeset for help on using the changeset viewer.