Skip to content

Commit

Permalink
Stop printing command line options to toil-cwl-runner standard output
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Nov 12, 2024
1 parent ad78aa4 commit 1c8faf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/toil/cwl/cwltoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -3905,7 +3905,6 @@ def main(args: Optional[list[str]] = None, stdout: TextIO = sys.stdout) -> int:
args = sys.argv[1:]

options = get_options(args)
print(options)

# Take care of incompatible arguments related to file imports
if options.run_imports_on_workers is True and options.import_workers_disk is None:
Expand Down
2 changes: 2 additions & 0 deletions src/toil/test/cwl/cwlTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,8 @@ def test_workflow_echo_string_scatter_capture_stdout() -> None:
cmd = [toil, jobstore, option_1, option_2, option_3, cwl]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = p.communicate()
log.debug("Workflow standard output: %s", stdout)
assert len(stdout) > 0
outputs = json.loads(stdout)
out_list = outputs["list_out"]
assert len(out_list) == 2, f"outList shoud have two file elements {out_list}"
Expand Down

0 comments on commit 1c8faf0

Please sign in to comment.