Changeset 1973


Ignore:
Timestamp:
12/22/06 16:33:23 (13 years ago)
Author:
curtis
Message:

Fix bug in findNode causing an OIB dataset from Stefan Terjung not to read
properly with the Bio-Formats Importer plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/OMEXMLMetadataStore.java

    r1952 r1973  
    740740    Element rel = root.getDOMElement(); 
    741741    Vector elements = DOMUtil.findElementList(name, rel.getOwnerDocument()); 
    742     if (elements == null || elements.size() == 0) return null; 
     742    if (elements == null || i <= elements.size()) return null; 
    743743    Element el = (Element) elements.get(i); 
    744744    return OMEXMLNode.createNode(el); 
Note: See TracChangeset for help on using the changeset viewer.