Skip to content

Commit

Permalink
fix checking for remote alignment file
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoster committed Jul 29, 2024
1 parent 53ad0b7 commit b5bed0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "STRdust"
version = "0.8.7"
version = "0.8.8"
edition = "2021"


Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn reader(filename: &str) -> Box<dyn BufRead> {
}

pub fn check_files_exist(args: &crate::Cli) {
if !Path::new(&args.bam).exists() {
if !Path::new(&args.bam).exists() && !args.bam.starts_with("s3") && !args.bam.starts_with("https://") {
error!("Alignment file not found: {}", args.bam);
std::process::exit(1);
}
Expand Down

0 comments on commit b5bed0e

Please sign in to comment.