Skip to content

Commit

Permalink
Merge branch 'main' into use-core-more-broadly
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegenes authored Feb 10, 2024
2 parents 5119961 + 9da289e commit 43b1b5d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/index.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use camino::Utf8PathBuf as PathBuf;
use sourmash::collection::Collection;
use sourmash::index::revindex::RevIndex;
use sourmash::prelude::*;
use std::path::Path;
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ mod mastiff_manygather;
mod mastiff_manysearch;
mod multisearch;
mod pairwise;
use sourmash::encodings::HashFunctions;
use sourmash::selection::Selection;

use camino::Utf8PathBuf as PathBuf;

Expand Down
2 changes: 0 additions & 2 deletions src/mastiff_manygather.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ pub fn mastiff_manygather(
intersect_bp: match_.intersect_bp(),
});
}
} else {
eprintln!("Error gathering matches: {:?}", matches.err());
}
} else {
eprintln!(
Expand Down
1 change: 1 addition & 0 deletions src/mastiff_manysearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub fn mastiff_manysearch(
}
// Open database once
let db = RevIndex::open(index, true)?;

println!("Loaded DB");

// Load query paths
Expand Down
1 change: 0 additions & 1 deletion src/python/tests/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def test_index_empty_siglist(runtmp, capfd):
output = runtmp.output('out.db')
make_file_list(siglist, []) # empty


with pytest.raises(utils.SourmashCommandFailed):
runtmp.sourmash('scripts', 'index', siglist,
'-o', output)
Expand Down

0 comments on commit 43b1b5d

Please sign in to comment.