metagenome-atlas / atlas

ATLAS - Three commands to start analyzing your metagenome data
https://metagenome-atlas.github.io/
BSD 3-Clause "New" or "Revised" License
368 stars 97 forks source link

atlas init cannot find template_config.yaml #634

Closed johnne closed 1 year ago

johnne commented 1 year ago

I installed atlas 2.15.0 from bioconda as per the instructions when proceeded with:

atlas init data/raw/files

However I'm getting this error:

FileNotFoundError: [Errno 2] No such file or directory: '/lib/python3.10/site-packages/atlas/../workflow/config/template_config.yaml'

(where <my_conda_prefix> is the path to the conda environment with atlas).

The template is actually at <my_conda_prefix>/lib/python3.10/site-packages/atlas/workflow/config/template_config.yaml.

No big issue as I could copy the template from its actual location and proceed from there, but thought I should file the issue all the same.

Enjoying the rest of atlas so far!

johnne commented 1 year ago

btw, changing line 198 of make_config.py to:

                        ), "workflow/config/template_config.yaml"

fixes the issue for me.

SilasK commented 1 year ago

Thank you for noticing.