Changeset 1330


Ignore:
Timestamp:
08/23/06 10:21:34 (14 years ago)
Author:
melissa
Message:

display a better error message if an invalid file pattern is found

File:
1 edited

Legend:

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

    r1329 r1330  
    235235    fp = new FilePattern(new File(id)); 
    236236    files = fp.getFiles(); 
     237     
     238    if (files == null) { 
     239      throw new FormatException("Invalid file pattern.  Please rename " + 
     240        "your files or disable file stitching."); 
     241    } 
     242     
    237243    imageCounts = new int[files.length]; 
    238244 
Note: See TracChangeset for help on using the changeset viewer.