abinslib.data¶
Wrapper to fetch reference data for tutorials etc.
Attributes¶
Functions¶
|
Get external reference data by filename. |
|
Get validation reference data by filename. |
Module Contents¶
- abinslib.data.pooch = None¶
- abinslib.data.VALIDATION_SEARCH_DIRS¶
- abinslib.data.get_data(filename: str) pathlib.Path[source]¶
Get external reference data by filename.
- abinslib.data.get_validation_data(filename: str, search_dirs: collections.abc.Iterable[pathlib.Path | str] = VALIDATION_SEARCH_DIRS) pathlib.Path[source]¶
Get validation reference data by filename.
- Parameters:
filename – Target data filename. If downloaded from archive, hash will be checked against registry file.
search_dirs – If provided, check these directories for local file with filename and skip hash check. If file is not found, fallback to archive download using pooch.