Skip to content

Commit

Permalink
software dependencies: make directory before calling galaxy.tool_util…
Browse files Browse the repository at this point in the history
….deps()
  • Loading branch information
mr-c committed Oct 12, 2023
1 parent 17bdd7c commit 4b35772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cwltool/software_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def __init__(self, args: argparse.Namespace) -> None:
self.dependency_resolvers_config_file = None
else:
self.use_tool_dependencies = False
if self.tool_dependency_dir and not os.path.exists(self.tool_dependency_dir):
os.makedirs(self.tool_dependency_dir)

def build_job_script(self, builder: "Builder", command: List[str]) -> str:
ensure_galaxy_lib_available()
Expand Down

0 comments on commit 4b35772

Please sign in to comment.