Skip to content

Commit

Permalink
Update input_check.nf
Browse files Browse the repository at this point in the history
pass quoteoption to splitCSV operator to allow handling of samplesheets from fetchngs which use double quotes around values.
  • Loading branch information
BethYates authored Jul 30, 2024
1 parent 5420de2 commit 0809ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subworkflows/local/input_check.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ workflow INPUT_CHECK {
if ( params.fetchngs_samplesheet ) {
FETCHNGSSAMPLESHEET_CHECK ( samplesheet )
.csv
.splitCsv ( header:true, sep:',' )
.splitCsv ( header:true, sep:',', quote:'"' )
.branch { row ->
paired: row.fastq_2
[[id: row.run_accession, row:row], [row.fastq_1, row.fastq_2]]
Expand Down

0 comments on commit 0809ce0

Please sign in to comment.