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
When a error is encountered with the reformat-vcf-table.py script, but its stdout is being piped, the overall exit code of the processes is returned as 0, allowing broken files to pass through the Nextflow pipelines. Example:
If an error is encountered by reformat-vcf-table.py here while it is in the middle of processing the file contents, a partial file will be created in output.tsv and the returned exit code of 0 will allow Nextflow to propagate output.tsv further down the pipeline.
Need to figure out how to ensure that non-zero exit code is returned in these cases.
The text was updated successfully, but these errors were encountered:
So far I have been band-aiding this by including tests on pipeline steps that use these kinds of stdin/stdout Python scripts to check the line count of the output file. Need to develop a better solution to address this.
When a error is encountered with the
reformat-vcf-table.py
script, but its stdout is being piped, the overall exit code of the processes is returned as 0, allowing broken files to pass through the Nextflow pipelines. Example:If an error is encountered by
reformat-vcf-table.py
here while it is in the middle of processing the file contents, a partial file will be created inoutput.tsv
and the returned exit code of 0 will allow Nextflow to propagateoutput.tsv
further down the pipeline.Need to figure out how to ensure that non-zero exit code is returned in these cases.
The text was updated successfully, but these errors were encountered: