Changeset 7473


Ignore:
Timestamp:
12/29/10 13:06:46 (9 years ago)
Author:
melissa
Message:

Make type detection slightly more restrictive; this should allow the tests to pass again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/ScreenReader.java

    r7472 r7473  
    103103    if (!open) return super.isThisType(filename, open); // no file system access 
    104104 
    105     String parent = new Location(filename).getAbsoluteFile().getParent(); 
    106     boolean validNames = isValidWellName(filename) && isValidPlateName(parent); 
     105    Location file = new Location(filename).getAbsoluteFile(); 
     106    String parent = file.getParent(); 
     107    boolean validNames = 
     108      isValidWellName(file.getAbsolutePath()) && isValidPlateName(parent); 
    107109 
    108110    ImageReader r = new ImageReader(validReaders); 
Note: See TracChangeset for help on using the changeset viewer.