find_files¶
- astro_metadata_translator.file_helpers.find_files(files: Iterable[ResourcePathExpression], regex: str) list[ResourcePath]¶
Find files for processing.
- Parameters:
- filesiterable of
lsst.resources.ResourcePathExpression The files or directories from which the headers are to be read.
- regex
str Regular expression string used to filter files when a directory is scanned.
- filesiterable of
- Returns:
- found_files
listoflsst.resources.ResourcePath The files that were found.
- found_files