Skip to content

Commit

Permalink
Updated error message for min_contig_length validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasin Kaya committed Dec 12, 2024
1 parent af407e6 commit 6f345b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ params {
process {
beforeScript = """
if [[ ${params.min_contig_length} -le 1000 ]]; then
echo "ERROR: The parameter 'min_contig_length' must be greater than 1 kbp (1000 base pairs). Provided value: ${params.min_contig_length}" >&2
echo "ERROR: The parameter 'min_contig_length' must be greater than 5 kbp (5000 base pairs). Provided value: ${params.min_contig_length}" >&2
exit 1
fi
"""
Expand Down

0 comments on commit 6f345b8

Please sign in to comment.