X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/420b31d5f181d320e6f770cc3c63f2ae66908c88..35852356dd9bb2e29e8aebb208e063d9fe924316:/sdk/cwl/arvados_cwl/runner.py diff --git a/sdk/cwl/arvados_cwl/runner.py b/sdk/cwl/arvados_cwl/runner.py index 752cc32ba6..68b2fd827a 100644 --- a/sdk/cwl/arvados_cwl/runner.py +++ b/sdk/cwl/arvados_cwl/runner.py @@ -137,8 +137,8 @@ def set_secondary(fsaccess, builder, inputschema, secondaryspec, primary, discov # set secondaryFiles, may be inherited by compound types. secondaryspec = inputschema["secondaryFiles"] - if isinstance(inputschema["type"], Mapping): - # compound type (array or record) + if isinstance(inputschema["type"], (Mapping, Sequence)): + # compound type (union, array, record) set_secondary(fsaccess, builder, inputschema["type"], secondaryspec, primary, discovered) elif (inputschema["type"] == "record" and