Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/wdecoster/STRdust into main
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoster committed Jul 22, 2024
2 parents 534dcd3 + 89b1a34 commit 7cb01b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn check_files_exist(args: &crate::Cli) {
} else {
"bai"
};
let index = format!("{}.{}", args.bam, index_extension);
let index = format!("{}{}", args.bam, index_extension);
if !Path::new(&index).exists() {
error!("Index file not found: {}", index);
std::process::exit(1);
Expand All @@ -48,4 +48,4 @@ pub fn check_files_exist(args: &crate::Cli) {
error!("FASTA index file not found: {}", fai);
std::process::exit(1);
}
}
}

0 comments on commit 7cb01b5

Please sign in to comment.