Changeset 2834


Ignore:
Timestamp:
05/30/07 08:57:18 (13 years ago)
Author:
melissa
Message:

Always try to use the real series name in the metadata window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/Importer.java

    r2788 r2834  
    282282          meta.putAll(r.getCoreMetadata().seriesMetadata[i]); 
    283283 
    284           String s; 
    285           if (seriesCount > 1) { 
     284          String s = store.getImageName(new Integer(i)); 
     285          if ((s == null || s.trim().length() == 0) && seriesCount > 1) { 
    286286            StringBuffer sb = new StringBuffer(); 
    287287            sb.append("Series "); 
     
    292292            s = sb.toString(); 
    293293          } 
    294           else s = ""; 
     294          else s += " "; 
     295 
    295296          final String pad = " "; // puts core values first when alphabetizing 
    296297          meta.put(pad + s + "SizeX", new Integer(r.getSizeX())); 
Note: See TracChangeset for help on using the changeset viewer.