Changeset 3817


Ignore:
Timestamp:
03/13/08 17:21:53 (12 years ago)
Author:
melissa
Message:

Fixed an NPE and removed obsolete pixel type hack.

Location:
trunk/loci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/ome/OMEUtils.java

    r3624 r3817  
    521521    String[] tips = new String[ids.length]; 
    522522    for (int i=0; i<ids.length; i++) { 
     523      if (names[i] == null) names[i] = ""; 
     524 
    523525      StringBuffer tip = new StringBuffer(); 
    524526      tip.append("<HTML>Name: "); 
  • trunk/loci/plugins/LociUploader.java

    r3815 r3817  
    150150        store.setImageName(name, 0); 
    151151        if (fi != null) store.setImageDescription(fi.info, 0); 
    152  
    153       } 
    154       if (is.getProcessor(1) instanceof ColorProcessor) { 
    155         store.setPixelsPixelType( 
    156           FormatTools.getPixelTypeString(FormatTools.UINT8), 0, 0); 
    157152      } 
    158153      MetadataRetrieve retrieve = (MetadataRetrieve) store; 
Note: See TracChangeset for help on using the changeset viewer.