Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset GTDBTK_DATA_PATH prevents even most basic operation #491

Closed
sjaenick opened this issue Mar 16, 2023 · 2 comments · Fixed by #504
Closed

Unset GTDBTK_DATA_PATH prevents even most basic operation #491

sjaenick opened this issue Mar 16, 2023 · 2 comments · Fixed by #504

Comments

@sjaenick
Copy link

Hi there,

I just upgraded my installation to 2.2.5 via pip; unfortunately even most basic commands don't work anymore:

$ gtdbtk --version

================================================================================
                                     ERROR                                      
________________________________________________________________________________

          The 'GTDBTK_DATA_PATH' environment variable is not defined.           

            Please set this variable to your reference data package.            
               https://github.com/Ecogenomics/GTDBTk#installation               
================================================================================
$ gtdbtk --help

================================================================================
                                     ERROR                                      
________________________________________________________________________________

          The 'GTDBTK_DATA_PATH' environment variable is not defined.           

            Please set this variable to your reference data package.            
               https://github.com/Ecogenomics/GTDBTk#installation               
================================================================================
$ gtdbtk check_install

================================================================================
                                     ERROR                                      
________________________________________________________________________________

          The 'GTDBTK_DATA_PATH' environment variable is not defined.           

            Please set this variable to your reference data package.            
               https://github.com/Ecogenomics/GTDBTk#installation               
================================================================================

https://github.com/Ecogenomics/GTDBTk#installation doesn't exist (as an HTML anchor), and the
documentation at https://ecogenomics.github.io/GTDBTk/ has nothing on setting up GTDBTK_DATA_PATH.

I guess basic things like --version and --help (at least) should work without this environment variable.

@pchaumeil
Copy link
Collaborator

Please try to set the GTDBTK_DATA_PATH as documented here.

I will change the https://github.com/Ecogenomics/GTDBTk#installation URL to https://ecogenomics.github.io/GTDBTk/installing/index.html instead.

@sjaenick
Copy link
Author

I'll do that, but nonetheless, I'd expect basic things (--version, --help) to work anyways.

aaronmussig added a commit that referenced this issue Apr 3, 2023
…DBTK_DATA_PATH dynamically.

BREAKING CHANGE: If you import gtdbtk.config.config in a pipeline, this
will break your code.

Closes #491 #498
@aaronmussig aaronmussig linked a pull request Apr 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants