From 4f015c1395abd48003bf68e21ab0005a86d3e8d3 Mon Sep 17 00:00:00 2001 From: Cheng-Hung Date: Thu, 5 Oct 2023 13:37:24 -0700 Subject: [PATCH] Fix by pre-commit --- CITATION.cff | 2 +- misc/phyling_flowchart.svg | 2 +- tests/phylotree_test.py | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 290319b..355a640 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -43,7 +43,7 @@ abstract: >- The assumptions in this approach are that the markers are generally single copy in genomes and taking best hit is - sufficient first approximation for identifying orthologs. + sufficient first approximation for identifying orthologs. keywords: - phylogenomics license: MIT diff --git a/misc/phyling_flowchart.svg b/misc/phyling_flowchart.svg index f867a35..b3411a4 100644 --- a/misc/phyling_flowchart.svg +++ b/misc/phyling_flowchart.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/tests/phylotree_test.py b/tests/phylotree_test.py index 478c058..ddd81cf 100644 --- a/tests/phylotree_test.py +++ b/tests/phylotree_test.py @@ -8,39 +8,39 @@ def test_on_pep_single_tree(): inputs = list(Path("tests/pep_align_single").iterdir()) tree_generator_obj = tree_generator("upgma", 1, *inputs) tree = tree_generator_obj.get() - assert isinstance(tree, Phylo.BaseTree.Tree) == True + assert isinstance(tree, Phylo.BaseTree.Tree) is True def test_on_pep_consensus_tree(): inputs = list(Path("tests/pep_align_consensus").iterdir()) tree_generator_obj = tree_generator("upgma", 1, *inputs) tree = tree_generator_obj.get() - assert isinstance(tree, Phylo.BaseTree.Tree) == True + assert isinstance(tree, Phylo.BaseTree.Tree) is True def test_on_cds_single_tree(): inputs = list(Path("tests/cds_align_single").iterdir()) tree_generator_obj = tree_generator("upgma", 1, *inputs) tree = tree_generator_obj.get() - assert isinstance(tree, Phylo.BaseTree.Tree) == True + assert isinstance(tree, Phylo.BaseTree.Tree) is True def test_on_cds_consensus_tree(): inputs = list(Path("tests/cds_align_consensus").iterdir()) tree_generator_obj = tree_generator("upgma", 1, *inputs) tree = tree_generator_obj.get() - assert isinstance(tree, Phylo.BaseTree.Tree) == True + assert isinstance(tree, Phylo.BaseTree.Tree) is True def test_nj(): inputs = list(Path("tests/cds_align_consensus").iterdir()) tree_generator_obj = tree_generator("nj", 1, *inputs) tree = tree_generator_obj.get() - assert isinstance(tree, Phylo.BaseTree.Tree) == True + assert isinstance(tree, Phylo.BaseTree.Tree) is True def test_fasttree(): inputs = list(Path("tests/cds_align_consensus").iterdir()) tree_generator_obj = tree_generator("ft", 1, *inputs) tree = tree_generator_obj.get() - assert isinstance(tree, Phylo.BaseTree.Tree) == True + assert isinstance(tree, Phylo.BaseTree.Tree) is True