We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a455d commit e78a5ebCopy full SHA for e78a5eb
tests/test_environment.py
@@ -159,11 +159,14 @@ def PWD(v: str, env: Env) -> bool:
159
if version >= Version("3.6"):
160
sing_vars["SINGULARITY_COMMAND"] = "exec"
161
if version >= Version("3.7"):
162
+ if version > Version("3.9"):
163
+ sing_vars["SINGULARITY_BIND"] = ""
164
+ else:
165
- def BIND(v: str, env: Env) -> bool:
- return True
166
+ def BIND(v: str, env: Env) -> bool:
167
+ return v.startswith(tmp_prefix) and v.endswith(":/tmp")
168
- sing_vars["SINGULARITY_BIND"] = BIND
169
+ sing_vars["SINGULARITY_BIND"] = BIND
170
if version >= Version("3.10"):
171
sing_vars["SINGULARITY_COMMAND"] = "run"
172
sing_vars["SINGULARITY_NO_EVAL"] = None
0 commit comments