spades icon indicating copy to clipboard operation
spades copied to clipboard

Spades is printing errors to stdout

Open luederm opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. For generic questions use Q&A section in the Discussions forum above.

Spades prints errors not caught by argparse to stdout instead of stderr.

For an easy example run spades with an empty reads file: spades.py -1 exists.R1.fastq.gz -2 fake.R2.fastq.gz -o outdir 2> stderr.txt

This is causing errors to not be logged in my pipeline. I am using spades version 3.15.2.

Describe the solution you'd like

Errors printed to stderr.

Describe alternatives you've considered

No response

Additional context

No response

luederm avatar Jul 13 '21 14:07 luederm

Thanks for the suggestion. We will check whether this could be fixed easily for the next SPAdes versions

asl avatar Jul 14 '21 06:07 asl