Skip to content

Commit

Permalink
Update modules/common/indexFile/main.nf
Browse files Browse the repository at this point in the history
Co-authored-by: Yash Patel <86321070+yashpatel6@users.noreply.github.com>
  • Loading branch information
kiarod and yashpatel6 authored Jul 9, 2024
1 parent 428529b commit 251a226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/common/indexFile/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Note that this is not a check for the existence of the index file.
*/

def indexFile(Object bam_cram_or_vcf) {
def indexFile(Object given_file) {
if(bam_cram_or_vcf.endsWith('.bam')) {
return "${bam_cram_or_vcf}.bai"
}
Expand Down

0 comments on commit 251a226

Please sign in to comment.