diff --git a/src/manysearch.rs b/src/manysearch.rs index e8e8bc14..e56da691 100644 --- a/src/manysearch.rs +++ b/src/manysearch.rs @@ -77,7 +77,9 @@ pub fn manysearch( let against_name = against_sig.name(); let against_md5 = against_sig.md5sum(); - if let Ok(against_mh) = >::try_into(against_sig) { + if let Ok(against_mh) = + >::try_into(against_sig) + { for query in query_sketchlist.iter() { // avoid calculating details unless there is overlap diff --git a/src/python/tests/test_manysearch.py b/src/python/tests/test_manysearch.py index a91675ea..4cd08de7 100644 --- a/src/python/tests/test_manysearch.py +++ b/src/python/tests/test_manysearch.py @@ -406,7 +406,7 @@ def test_simple_scaled(runtmp, indexed, zip_query): df = pandas.read_csv(output) assert len(df) == 3 - assert set(list(df['scaled'])) == {10000} + assert set(list(df["scaled"])) == {10000} def test_simple_manifest(runtmp, indexed): diff --git a/src/python/tests/test_multisearch.py b/src/python/tests/test_multisearch.py index 123b3872..4dd16b6f 100644 --- a/src/python/tests/test_multisearch.py +++ b/src/python/tests/test_multisearch.py @@ -1195,11 +1195,14 @@ def test_mismatched_scaled_query(runtmp): output = runtmp.output("out.csv") - runtmp.sourmash("scripts", "multisearch", query_list, against_list, "-o", output, '-s', '10_000') + runtmp.sourmash( + "scripts", "multisearch", query_list, against_list, "-o", output, "-s", "10_000" + ) assert os.path.exists(output) df = pandas.read_csv(output) assert len(df) == 5 - assert set(list(df['scaled'])) == {10_000} + assert set(list(df["scaled"])) == {10_000} + def test_mismatched_scaled_against(runtmp): # test what happens if against scaled is too high diff --git a/src/python/tests/test_pairwise.py b/src/python/tests/test_pairwise.py index ce9d94f7..1f7bdac6 100644 --- a/src/python/tests/test_pairwise.py +++ b/src/python/tests/test_pairwise.py @@ -743,10 +743,8 @@ def test_simple_scaled(runtmp): output = runtmp.output("out.csv") - runtmp.sourmash( - "scripts", "pairwise", query_list, "-o", output, "-s", "10_000" - ) + runtmp.sourmash("scripts", "pairwise", query_list, "-o", output, "-s", "10_000") assert os.path.exists(output) df = pandas.read_csv(output) assert len(df) == 1 - assert set(list(df['scaled'])) == {10_000} + assert set(list(df["scaled"])) == {10_000}