Skip to content

Commit

Permalink
Parse quoted CSV headers
Browse files Browse the repository at this point in the history
  • Loading branch information
sminot committed Feb 5, 2024
1 parent a7ff2a8 commit d68dcb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/find_reads.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ workflow find_reads {
)
.map {
it -> [
it['sample'],
it.get('sample', it['"sample"']),
[
file(it.get('R1', it['fastq_1']), checkIfExists: true),
file(it.get('R2', it['fastq_2']), checkIfExists: true)
file(it.get('R1', it.get('fastq_1', it['"fastq_1"'])), checkIfExists: true),
file(it.get('R2', it.get('fastq_2', it['"fastq_2"'])), checkIfExists: true)
]
]
}
Expand Down

0 comments on commit d68dcb2

Please sign in to comment.