$ snakemake --cores 4 --configfile config/config.yaml
FileNotFoundError in file "/Users/jhiemstra/Desktop/dev/spras/spras/Snakefile", line 26:
[Errno 2] No such file or directory: '/Users/jhiemstra/miniforge3/envs/spras/lib/python3.11/site-packages/spras-0.6.0.dist-info/RECORD'
File "/Users/jhiemstra/Desktop/dev/spras/spras/Snakefile", line 26, in <module>
File "/Users/jhiemstra/Desktop/dev/spras/spras/spras/config/config.py", line 36, in init_global
File "/Users/jhiemstra/Desktop/dev/spras/spras/spras/config/config.py", line 97, in __init__
File "/Users/jhiemstra/Desktop/dev/spras/spras/spras/config/config.py", line 296, in process_config
File "/Users/jhiemstra/Desktop/dev/spras/spras/spras/config/config.py", line 127, in process_datasets
File "/Users/jhiemstra/Desktop/dev/spras/spras/spras/config/revision.py", line 66, in attach_spras_revision
File "/Users/jhiemstra/Desktop/dev/spras/spras/spras/config/revision.py", line 47, in spras_revision
I recently created a fresh spras environment (
mamba env create -f environment.yml) and tried running a nearly-defaultconfig/config.yml. This generated an error about missing records:I'm dug into what causes this, but I worked around it with a
pip install -e .from the repo root, although I wouldn't think this should be necessary.