Skip to content

Commit

Permalink
Update run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueg authored Mar 6, 2024
1 parent 0245a9b commit 857a2a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions zarp/snakemake/run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Module for executing Snakemake workflows."""
import os

import logging
from pathlib import Path
import subprocess
Expand Down Expand Up @@ -52,10 +52,7 @@ def compile_command(self, snakefile: Path) -> List[str]:
str(self.exec_dir),
str(self.run_config.working_directory),
str(self.run_config.zarp_directory),
str(os.environ.get("TMP")),
str(os.environ.get("TMPDIR")),
]
bind_paths = [item for item in bind_paths if item is not None]
if self.bind_paths is not None:
bind_paths.extend([str(path) for path in self.bind_paths])
bind_paths_arg: str = ",".join(bind_paths)
Expand Down

0 comments on commit 857a2a0

Please sign in to comment.