Skip to content

Schema already in use error #2167

@alexiswl

Description

@alexiswl

Hello,

Trying to run a complex workflow that involves multiple nested imports and multiple subworkflows.

I am unsure when an import needs to be placed in the schema definition requirement.

The workflow validates and packs successfully however generates the following error when run:

Traceback (most recent call last): File "/usr/local/lib/cwltool-3.0.20201203173111/schema_salad/avro/schema.py", line 409, in __init__ items_schema = make_avsc_object(items, names) File "/usr/local/lib/cwltool-3.0.20201203173111/schema_salad/avro/schema.py", line 635, in make_avsc_object return RecordSchema( name, namespace, fields, names, atype, doc, other_props ) File "/usr/local/lib/cwltool-3.0.20201203173111/schema_salad/avro/schema.py", line 535, in __init__ NamedSchema.__init__(self, schema_type, name, namespace, names, other_props) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/cwltool-3.0.20201203173111/schema_salad/avro/schema.py", line 255, in __init__ new_name = names.add_name(name, namespace, self) File "/usr/local/lib/cwltool-3.0.20201203173111/schema_salad/avro/schema.py", line 218, in add_name raise SchemaParseException(fail_msg) schema_salad.avro.schema.SchemaParseException: The name "dragen-qc-coverage" is already in use. 

Workflow (zipped): https://github.com/umccr/cwl-ica/releases/download/dragen-wgts-dna-pipeline%2F4.4.4__20251015010222/dragen-wgts-dna-pipeline__4.4.4__20251015010222.zip

Stderr logs: cwltool-already-in-use-debug-log.zip

Related: https://cwl.discourse.group/t/complex-workflow-cannot-be-packed/1022

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions