Skip to content

Commit

Permalink
Preserve compatibility with R1/R2
Browse files Browse the repository at this point in the history
  • Loading branch information
sminot committed Mar 13, 2024
1 parent 2d86d42 commit b96d37b
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"']).replaceAll(/^\"|\"$/, ""),
[
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)
file(it.get('R1', it.get('fastq_1', it.get('"fastq_1"', 'none')).replaceAll(/^\"|\"$/, "")), checkIfExists: true),
file(it.get('R2', it.get('fastq_2', it.get('"fastq_2"', 'none')).replaceAll(/^\"|\"$/, "")), checkIfExists: true)
]
]
}
Expand Down

0 comments on commit b96d37b

Please sign in to comment.