Skip to content

Commit 8695c83

Browse files
dbg
1 parent f1cf2cb commit 8695c83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/snakemake_software_deployment_plugin_envmodules

src/snakemake_software_deployment_plugin_envmodules/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __post_init__(self):
3636

3737
@EnvBase.once
3838
def check(self) -> None:
39-
res = self.run_cmd("module --help && type module", stdout=sp.PIPE, stderr=sp.STDOUT)
39+
res = self.run_cmd("echo $PATH && command -v module && module --help && type module", stdout=sp.PIPE, stderr=sp.STDOUT)
4040
if res.returncode != 0:
4141
raise WorkflowError(
4242
"The module command is not available. "

0 commit comments

Comments
 (0)