Skip to content

Commit ee8ba42

Browse files
committed
fix arguments in wdl workflow call
1 parent 5fe9512 commit ee8ba42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

enviroMS/diWorkflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def run_wdl_direct_infusion_workflow(*args, **kwargs):
566566

567567
if workflow_params.batch_calibrate:
568568
# Before processing the samples, set calibration based on SRFA
569-
error_boundaries, workflow_params.file_paths = find_calibration_for_batch(workflow_params)
569+
error_boundaries, workflow_params.file_paths, srfa_path = find_calibration_for_batch(workflow_params)
570570
else:
571571
# Not used if not batch_calibrate, placeholder for run_assignment input
572572
error_boundaries = ()
@@ -577,7 +577,7 @@ def run_wdl_direct_infusion_workflow(*args, **kwargs):
577577

578578
# Run workflow for every file in the list
579579
worker_args = [
580-
(file_path, workflow_params.to_toml(), error_boundaries)
580+
(file_path, workflow_params.to_toml(), error_boundaries, workflow_params.batch_calibrate, srfa_path)
581581
for file_path in workflow_params.file_paths
582582
]
583583
file_path = Path(worker_args[0][0])

0 commit comments

Comments
 (0)