File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2121from cwl_utils .loghandler import _logger
2222
2323# Type hinting
24- from cwl_utils .parser import InputRecordSchemaTypes
24+ from cwl_utils .parser import InputRecordSchemaTypes , InputArraySchemaTypes
2525
2626# Load as 1.2 files
2727from cwl_utils .parser .cwl_v1_2 import InputArraySchema as InputArraySchemaV1_2
@@ -341,7 +341,10 @@ def sanitise_schema_field(
341341 schema_field_item = deepcopy (schema_field_item )
342342 required = True
343343
344- if isinstance (schema_field_item , InputRecordSchemaTypes ):
344+ if (
345+ isinstance (schema_field_item , InputRecordSchemaTypes ) or
346+ isinstance (schema_field_item , InputArraySchemaTypes )
347+ ):
345348 return schema_field_item
346349
347350 if isinstance (schema_field_item .get ("type" ), list ):
You can’t perform that action at this time.
0 commit comments