Skip to content

Commit

Permalink
problem when input files end with clean
Browse files Browse the repository at this point in the history
Fixes #46
  • Loading branch information
MarieLataretu committed Nov 25, 2021
1 parent 011481d commit ef4f78e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clean.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ def parameter_diff = params.keySet() - valid_params
if (parameter_diff.size() != 0){
exit 1, "ERROR: Parameter(s) $parameter_diff is/are not valid in the pipeline!\n"
}
if (params.illumina_single_end.contains('.clean.') || params.illumina.contains('.clean.') || params.nano.contains('.clean.') || params.fasta.contains('.clean.') ) {
exit 1, "ERROR: Input files cannot contain `.clean.`\n"
}

/**************************
* META & HELP MESSAGES
Expand Down

0 comments on commit ef4f78e

Please sign in to comment.