Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-eyes committed Jan 8, 2024
1 parent 86e2b16 commit 6ebb8e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,7 @@ fn do_pairwise(
output_path: Option<String>,
) -> anyhow::Result<u8> {
let template = build_template(ksize, scaled, &moltype);
match pairwise::pairwise(
siglist_path,
threshold,
template,
output_path,
) {
match pairwise::pairwise(siglist_path, threshold, template, output_path) {
Ok(_) => Ok(0),
Err(e) => {
eprintln!("Error: {e}");
Expand Down
3 changes: 2 additions & 1 deletion src/pairwise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ pub fn pairwise<P: AsRef<Path>>(
max_containment,
jaccard,
overlap,
)).unwrap();
))
.unwrap();
}

let i = processed_cmp.fetch_add(1, atomic::Ordering::SeqCst);
Expand Down

0 comments on commit 6ebb8e6

Please sign in to comment.