Skip to content

Commit

Permalink
Parse quoted filepaths
Browse files Browse the repository at this point in the history
  • Loading branch information
sminot committed Feb 5, 2024
1 parent c18d491 commit c5abae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/find_reads.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ workflow find_reads {
it -> [
it.get('sample', it['"sample"']),
[
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)
file(it.get('R1', it.get('fastq_1', it['"fastq_1"']).replaceAll(/^\"|\"$/, "")), checkIfExists: true),
file(it.get('R2', it.get('fastq_2', it['"fastq_2"']).replaceAll(/^\"|\"$/, "")), checkIfExists: true)
]
]
}
Expand Down

0 comments on commit c5abae8

Please sign in to comment.