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

Infrastructure config - autodetect: is a cachedir variable already set, for resuse #20

Open
jfy133 opened this issue Nov 3, 2023 · 1 comment · May be fixed by #46
Open

Infrastructure config - autodetect: is a cachedir variable already set, for resuse #20

jfy133 opened this issue Nov 3, 2023 · 1 comment · May be fixed by #46
Assignees

Comments

@jfy133
Copy link
Collaborator

jfy133 commented Nov 3, 2023

Try to detect from NXF_*_CHACHEDIR env variable to try and suggest an existing cache dir location. Can be used for specifying a default when asking for the cache location.

@jfy133
Copy link
Collaborator Author

jfy133 commented Nov 3, 2023

Commands to parse/python code

    cachedirs = [
        os.getenv("NXF_CHARLIECLOUD_CACHEDIR"),
        os.getenv("NXF_CONDA_CACHEDIR"),
        os.getenv("NXF_SINGULARITY_CACHEDIR"),
        os.getenv("NXF_APPTAINER_CACHEDIR"),
    ]

@jfy133 jfy133 self-assigned this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant