Skip to content

Commit

Permalink
update to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bluenote-1577 committed Apr 9, 2023
1 parent 12c4a64 commit 966fd01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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 = "skani"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "skani is a fast tool for calculating ANI between metagenomic sequences, such as metagenome-assembled genomes (MAGs). It is extremely fast and is robust against incompleteness and fragmentation, giving accurate ANI estimates."
Expand Down
6 changes: 4 additions & 2 deletions src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ pub fn parse_params(matches: &ArgMatches) -> (SketchParams, CommandParams) {
ref_files = vec![];
ref_file_list = Some(values);
} else {
panic!("No reference inputs found.");
error!("No reference inputs found.");
std::process::exit(1);
}
} else if mode == Mode::Dist {
if let Some(values) = matches_subc.values_of("reference") {
Expand All @@ -86,7 +87,8 @@ pub fn parse_params(matches: &ArgMatches) -> (SketchParams, CommandParams) {
} else if let Some(values) = matches_subc.values_of("references") {
ref_files = values.map(|x| x.to_string()).collect();
} else {
panic!("No reference inputs found.");
error!("No reference inputs found.");
std::process::exit(1);
}
} else {
panic!("PATH TODO");
Expand Down

0 comments on commit 966fd01

Please sign in to comment.