Skip to content

Commit

Permalink
fixing woopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoster committed Jul 23, 2024
1 parent 7cb01b5 commit 57a5207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 Down

0 comments on commit 57a5207

Please sign in to comment.