Skip to content

Commit

Permalink
Do not create working directory on head node
Browse files Browse the repository at this point in the history
We do not need to create a working directory on the head node. We only need to create our jobstore here.
  • Loading branch information
gmloose committed Nov 12, 2024
1 parent 68d9737 commit 6115e7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/toil/cwl/cwltoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -3887,10 +3887,6 @@ def main(args: Optional[list[str]] = None, stdout: TextIO = sys.stdout) -> int:
)
workdir = options.workDir or tmp_outdir_prefix

# We need a workdir for the CWL runtime contexts.
if options.workDir is None:
workdir = cwltool.utils.create_tmp_dir(workdir)

if options.jobStore is None:
jobstore = cwltool.utils.create_tmp_dir(tmp_outdir_prefix)
# Make sure directory doesn't exist so it can be a job store
Expand Down

0 comments on commit 6115e7b

Please sign in to comment.