Skip to content

Commit 44e82f3

Browse files
authored
Merge pull request #11 from TRON-Bioinformatics/ozlemmuslu-patch-1
Update main.nf
2 parents e542859 + 4250e09 commit 44e82f3

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_file.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)