Adds a single nextflow parameter --error_strategy that allows to change error strategy for command line.
This was requested by @angarb (also see suggested commit) for the purpose of being able to easily set error strategy to "ignore" when needed to avoid pipeline failure upon one wrongful variant.
Testing
This PR has been tested locally to be able to change error strategy from command line parameter. Testing was performed by using one correct and one corrupted fastq file created manually.
samples_to_fail.csv:
This PR
Adds a single nextflow parameter
--error_strategy
that allows to change error strategy for command line.This was requested by @angarb (also see suggested commit) for the purpose of being able to easily set error strategy to "ignore" when needed to avoid pipeline failure upon one wrongful variant.
Testing
This PR has been tested locally to be able to change error strategy from command line parameter. Testing was performed by using one correct and one corrupted fastq file created manually.
samples_to_fail.csv
:Error strategy
ignore
:Error strategy
finish
:Error strategy
terminate
:Incorrect error strategy value: