Skip to content

Commit 4250e09

Browse files
authored
Update main.nf
1 parent 2944534 commit 4250e09

File tree

1 file changed

+1
-1
lines changed
  • subworkflows/parse_samplesheet

1 file changed

+1
-1
lines changed

subworkflows/parse_samplesheet/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ workflow PARSE_SAMPLESHEET {
3535
validateSamplesheet(ch_samplesheet)
3636
log.info "[INFO] Samplesheet validated"
3737

38-
def sep = ch_samplesheet.name.endsWith('.tsv') ? '\t' : ','
38+
def sep = params.samplesheet.endsWith('.tsv') ? '\t' : ','
3939
ch_samplesheet
4040
.splitCsv(header: true, sep: sep)
4141
.map { row ->

0 commit comments

Comments
 (0)