Commit 60ee1498 authored by Aidan Richard Wiederhold's avatar Aidan Richard Wiederhold
Browse files

Set filetype automatically if given a single output job as input

parent 00f59fa3
Pipeline #3880748 passed with stage
in 5 minutes and 45 seconds
......@@ -168,6 +168,13 @@ def recursively_create_input(production_name, job_name, filetype, prod_data):
raise NotImplementedError(
f"Looking for {filetype} but {job_name} only produces {output_filetypes}"
if len(output_filetypes) > 1:
raise ValueError(
"An input filetype must be specified when taking input from a multi-output job!"
filetype = output_filetypes[0]
# Run the job the desired job depends on
result = logging_subprocess_run(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment