Changeset 6252


Ignore:
Timestamp:
05/10/10 13:02:52 (10 years ago)
Author:
curtis
Message:

Skip file existence check for fake files in FileStitcher.

File:
1 edited

Legend:

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

    r6230 r6252  
    10391039    for (int i=0; i<files.length; i++) { 
    10401040      for (int j=0; j<files[i].length; j++) { 
    1041         if (!new Location(files[i][j]).exists()) { 
     1041        String file = files[i][j]; 
     1042 
     1043        // HACK: skip file existence check for fake files 
     1044        if (file.toLowerCase().endsWith(".fake")) continue; 
     1045 
     1046        if (!new Location(file).exists()) { 
    10421047          throw new FormatException("File #" + i + 
    1043             " (" + files[i][j] + ") does not exist."); 
     1048            " (" + file + ") does not exist."); 
    10441049        } 
    10451050      } 
Note: See TracChangeset for help on using the changeset viewer.