gaps.collection.find_h5_files#
- find_h5_files(collect_pattern, ignore=None)[source]#
Search pattern for existing HDF5 files.
- Parameters:
collect_pattern (str) – Unix-style /filepath/pattern*.h5 representing a list of input files to be collected into a single HDF5 file.
ignore (str | container | None, optional) – File name(s) to ignore. By default, None.
- Returns:
list – List of sorted filepaths.
- Raises:
gapsRuntimeError – If not all source files end in “.h5” (i.e. are not of type HDF5).