Passing a list of filenames to MosaicPipeline results in a KeyError due to this assumption.
Where:
Resample (and possibly other steps) has similar code:
|
if "name" in input_models.asn["products"][0]: |
|
output_filename = input_models.asn["products"][0]["name"] |
but that looks to be guarded with an appropriate
if check.
FWIW the association schema does not require "name":
|
"products": { |
|
"description": "Array of output products and their required inputs derived from this association.", |
|
"type": "array", |
|
"items": { |
|
"type": "object", |
|
"required": ["members"], |
so in this case stpipe is producing what looks like a valid association.