common-workflow-language / cwltool

Common Workflow Language reference implementation
https://cwltool.readthedocs.io/
Apache License 2.0
332 stars 230 forks source link

Option to suppress output object listing #583

Open gijzelaerr opened 6 years ago

gijzelaerr commented 6 years ago

hi!

I'm using cwltool and i'm missing a feature to supress the listing of output products. When a pipeline has a lot of output products the console gets filled up with data which is quite pointless. I tried --quiet but that doesn't seem to do much.

thanks!

mr-c commented 6 years ago

Hey @gijzelaerr . Are you wanting to suppress the CWL output object JSON, or the other output?

gijzelaerr commented 6 years ago

hi @mr-c! the JSON :)

mr-c commented 6 years ago

@gijzelaerr cwltool --quiet mydescription.cwl > /dev/null :-)

gijzelaerr commented 6 years ago

so console output of an encapsulated program goes to stderr?

mr-c commented 6 years ago

STDERR and STDOUT from the underlying tool are not redirected unless specified in the CommandLineTool description. Would you like them to be suppressed when --quiet?

gijzelaerr commented 6 years ago

No, I would like to see the output of the encapsulated program, without the verbose JSON.

gijzelaerr commented 6 years ago

I think the JSON output in most cases is not very useful, it is probably much more useful to have a brief overview of output products and types.