Skip to content

Conversation

@LanderOtto
Copy link
Contributor

This commit tests the output when is an array of records

listing:
- entryname: script.sh
entry: |
echo '$(inputs.in1)' | sed -E 's/": "([^"]*)"/": "\1z"/g' > cwl.output.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cwl.output.json needs to be a JSON dictionary where the key names match the names in the outputs section; so I think you're missing a {"result": …. }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Thank you!

}
]
doc: The input and output of the step when they are arrays of records
tags: [ command_line_tool, required ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tags: [ command_line_tool, required ]
tags: [ command_line_tool, inline_javascript, schema_def, initial_work_dir ]

@LanderOtto LanderOtto force-pushed the out-array-rec branch 2 times, most recently from ace2313 to 46e6872 Compare November 13, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants