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 21
21
from cwl_utils .loghandler import _logger
22
22
23
23
# Type hinting
24
- from cwl_utils .parser import InputRecordSchemaTypes
24
+ from cwl_utils .parser import InputRecordSchemaTypes , InputArraySchemaTypes
25
25
26
26
# Load as 1.2 files
27
27
from cwl_utils .parser .cwl_v1_2 import InputArraySchema as InputArraySchemaV1_2
@@ -341,7 +341,10 @@ def sanitise_schema_field(
341
341
schema_field_item = deepcopy (schema_field_item )
342
342
required = True
343
343
344
- if isinstance (schema_field_item , InputRecordSchemaTypes ):
344
+ if (
345
+ isinstance (schema_field_item , InputRecordSchemaTypes ) or
346
+ isinstance (schema_field_item , InputArraySchemaTypes )
347
+ ):
345
348
return schema_field_item
346
349
347
350
if isinstance (schema_field_item .get ("type" ), list ):
You can’t perform that action at this time.
0 commit comments