Skip to content

ENH: attached rate and motif parameters to cogent3 tree object #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Sep 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TST: added type annotations for tree yaml tests
  • Loading branch information
YapengLang committed Sep 27, 2024
commit ab7988b6fcf913767c38e697f32f11ee9490272b
4 changes: 2 additions & 2 deletions tests/test_iqtree/test_tree_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def newick_not_in_candidates() -> dict[str, Any]:


@pytest.fixture()
def standard_yaml():
def standard_yaml() -> dict[str, Any]:
return {
"CandidateSet": {
0: "-6736.94578464 (0:0.0063211201,1:0.0029675780,(2:0.0228519739,3:0.3072009029):0.01373649616);",
Expand Down Expand Up @@ -77,7 +77,7 @@ def test_newick_not_in_candidates(newick_not_in_candidates: dict[str, Any]) -> N
)


def test_edge_params(standard_yaml):
def test_edge_params(standard_yaml: dict[str, Any]) -> None:
params = {
"rates": "1, 3.82025079, 1, 1, 3.82025079, 1",
"state_freq": "0.3628523161, 0.1852938562, 0.2173913044, 0.2344625233",
Expand Down