Changeset 2481


Ignore:
Timestamp:
03/19/07 10:42:25 (13 years ago)
Author:
melissa
Message:

Use absolute path to MDB file.

File:
1 edited

Legend:

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

    r2478 r2481  
    589589    // see if we have an associated MDB file 
    590590 
    591     Location dir = new Location(currentId).getAbsoluteFile().getParentFile(); 
     591    Location dir = new Location(currentId).getParentFile(); 
    592592    String[] dirList = dir.list(); 
    593593 
     
    595595      if (dirList[i].toLowerCase().endsWith(".mdb")) { 
    596596        try { 
    597           MDBParser.parseDatabase(dirList[i], metadata); 
     597          MDBParser.parseDatabase((new Location(dir.getPath(),  
     598            dirList[i])).getAbsolutePath(), metadata); 
    598599        } 
    599600        catch (FormatException f) { 
Note: See TracChangeset for help on using the changeset viewer.