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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: singularity sometimes uses system /tmp explanation #1588

Merged
merged 10 commits into from May 11, 2022
4 changes: 3 additions & 1 deletion snakemake/deployment/conda.py
Expand Up @@ -522,7 +522,9 @@ def create(self, dryrun=False):

@classmethod
def get_singularity_envvars(self):
return {"CONDA_PKGS_DIRS": "/tmp/conda/{}".format(uuid.uuid4())}
return {
"CONDA_PKGS_DIRS": "{}/conda/{}".format(tempfile.gettempdir(), uuid.uuid4())
Maarten-vd-Sande marked this conversation as resolved.
Show resolved Hide resolved
}

def __hash__(self):
# this hash is only for object comparison, not for env paths
Expand Down