Skip to content

Commit 0c154fd

Browse files
authored
Revert param validation check as mis-typed suggestion is nextflow invalid
1 parent f04bf3c commit 0c154fd

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

main.nf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,6 @@ println ""
245245
/* -- VALIDATE INPUTS -- */
246246
////////////////////////////////////////////////////
247247

248-
// Common parameter typos
249-
250-
if ( params.single-end ) {
251-
"[nf-core/eager] error: Please check your input parameters. --single-end should be --single_end (with underscore)?"
252-
}
253-
254248
// Validate reference inputs
255249
if ( params.fasta.isEmpty () ){
256250
exit 1, "[nf-core/eager] error: please specify --fasta with the path to your reference"
@@ -3119,7 +3113,7 @@ def retrieve_input_paths(input, colour_chem, pe_se, ds_ss, udg_treat, bam_in) {
31193113
Channel
31203114
.fromFilePairs( input )
31213115
.filter { it =~/.*.fastq.gz|.*.fq.gz|.*.fastq|.*.fq/ }
3122-
.ifEmpty { exit 1, "[nf-core/eager] error: Files could not be found. Do the specified FASTQ read files end in: '.fastq.gz', '.fq.gz', '.fastq', or '.fq'? Did you forget `--single_end?" }
3116+
.ifEmpty { exit 1, "[nf-core/eager] error: Files could not be found. Do the specified FASTQ read files end in: '.fastq.gz', '.fq.gz', '.fastq', or '.fq'? Did you forget --single_end?" }
31233117
.map { row -> [ row[0], [ row[1][0], row[1][1] ] ] }
31243118
.ifEmpty { exit 1, "[nf-core/eager] error: --input was empty - no input files supplied!" }
31253119
.into { ch_reads_for_faketsv; ch_reads_for_validate }

0 commit comments

Comments
 (0)