-
Notifications
You must be signed in to change notification settings - Fork 192
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
Changes nf-core cache dir to user's home #381
Conversation
This pull request introduces 1 alert when merging bd28114 into c34b04b - view on LGTM.com new alerts:
|
The https://lgtm.com/projects/g/nf-core/tools/rev/pr-78a866159bbc8065b95d1ea9b362de23429a32d8 |
In fact, instead of using the user's home directory, can we not just add in a user-specific subdir on the temp path? Needs to be persistent between runs though. Maybe os.path.join(tempfile.gettempdir(), os.getlogin(), 'nfcore_cache') |
I think the home dir is a better solution, because the tmp folder might not be persistent. Depending on the system setup, it might get deleted regularly. And we do not want that for the request cache imo :) |
This pull request introduces 1 alert when merging 03b507a into f71f037 - view on LGTM.com new alerts:
|
@ewels better? |
|
Fixes #379 .
PR checklist
docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedLearn more about contributing: https://github.com/nf-core/tools/tree/master/.github/CONTRIBUTING.md