Paths¶
Config and data path resolution utilities.
pitch_sequencing.paths
¶
Resolve default paths for configs and data shipped with the package.
get_default_config(name)
¶
Return the path to a bundled config file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Config filename or relative path, e.g. |
required |
Source code in src/pitch_sequencing/paths.py
get_default_data_dir()
¶
Return the default data directory.
Preference order:
1. ./data if it exists (repo checkout / development)
2. ~/pitch-sequencing-data/ (pip-installed usage)