Changeset 3098 for trunk


Ignore:
Timestamp:
08/23/07 11:51:15 (13 years ago)
Author:
melissa
Message:

Fixed how metadata is split between series.

File:
1 edited

Legend:

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

    r3097 r3098  
    507507      while (keys.hasMoreElements()) { 
    508508        String k = (String) keys.nextElement(); 
    509         boolean use = true; 
    510         for (int j=0; j<seriesNames.size(); j++) { 
    511           if (j != i && k.startsWith((String) seriesNames.get(j))) { 
    512             use = false; 
    513             break; 
    514           } 
    515         } 
    516         if (use) core.seriesMetadata[i].put(k, metadata.get(k)); 
     509        if (k.startsWith((String) seriesNames.get(i) + " ")) { 
     510          core.seriesMetadata[i].put(k, metadata.get(k)); 
     511        } 
    517512      } 
    518513    } 
Note: See TracChangeset for help on using the changeset viewer.