Blosberg / nanopiper

(long read) fastq input to final report
0 stars 0 forks source link

mute print statements when using --dag to avoid "Error: <stdin>: syntax error in line 1 near 'Write'" #6

Open Blosberg opened 6 years ago

Blosberg commented 6 years ago

Normally the pipeline outputs warnings to screen if write permission is denied in the refgenome folder; but when outputting a DAG, this first line breaks the format for the vector file.

Error looks like this: Error: <stdin>: syntax error in line 1 near 'Write' print statements should be muted under these conditions (or maybe only output error message when writing is actually needed but can't be performed).