You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cwlVersion: v1.2class: CommandLineToollabel: A short, human-readable label.doc:
- A longer description of the tool or workflow.
- "Ideally with examples, for instance:"
- | cwltool --tool-help tool_help_doclist.cwlinputs:
message:
default: hello worldtype: stringoutputs:
main_output: stdoutbaseCommand: echoarguments: [ $(inputs.message) ]stdout: message.txt
Running cwltool --tool-help example_tool.cwl (both with version 3.1.20250110105449 and 3.1.20241217163858) prints the following error:
ERROR Unhandled error, try again with --debug for more information:
Unable to get render width for ['A longer description of the tool.', 'Ideally with examples, e.g.:', 'cwltool --tool-help tool_help_doclist.cwl\n']; a str, Segment, or object with __rich_console__ method is required
Expected output:
usage: example_tool.cwl [-h] [--message MESSAGE] [job_order]
A longer description of the tool or workflow. Ideally with examples,
for instance: cwltool --tool-help example_tool.cwl
positional arguments:
job_order Job input json file
options:
-h, --help show this help message and exit
--message MESSAGE
Or, (maybe) even better:
usage: example_tool.cwl [-h] [--message MESSAGE] [job_order]
A short, human-readable label.
A longer description of the tool or workflow. Ideally with examples,
for instance:
cwltool --tool-help example_tool.cwl
positional arguments:
job_order Job input json file
options:
-h, --help show this help message and exit
--message MESSAGE
The text was updated successfully, but these errors were encountered:
example_tool.cwl:
Running
cwltool --tool-help example_tool.cwl
(both with version 3.1.20250110105449 and 3.1.20241217163858) prints the following error:Expected output:
Or, (maybe) even better:
The text was updated successfully, but these errors were encountered: