Task #6479 (closed)
Opened 13 years ago
Closed 12 years ago
Fix up FilePattern to allow files in multiple directories
Reported by: | mlinkert | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4 |
Component: | Bio-Formats | Version: | n.a. |
Keywords: | n.a. | Cc: | gbonamy@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
There is now a nice new utility method to build a regular expression pattern from a list of files (FilePattern?.findPattern(String[])), but unfortunately it is limited to accepting only files that are in the same directory.
It would be nice to allow files in multiple directories, such as:
/data/a/x.tiff
/data/a/y.tiff
/data/a/z.tiff
/data/b/xx.tiff
/data/b/yy.tiff
...
I think the biggest change would need to happen in buildFiles(...), so that it recursively searches a directory instead of just listing the first file's parent directory.
Change History (2)
comment:1 Changed 13 years ago by mlinkert
- Milestone changed from OMERO-Beta4.3.2 to OME-5.0
- Sprint 2011-09-01 (4) deleted
comment:2 Changed 12 years ago by mlinkert
- Remaining Time changed from 1 to 0
- Resolution set to fixed
- Status changed from new to closed
Feature added in https://github.com/melissalinkert/bioformats/commit/6419a610e9da2f7bf126ace89543eb084e7a5721
A build with that change is not yet available.
Given that we are only one week away from packaging JARs for 4.3.2 (and there are several important bugs left), I don't think this is going to happen for 4.3.2.