phylogenie 3.0.0__py3-none-any.whl → 3.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ def get_node_depths(tree: Tree) -> dict[Tree, float]:
22
22
  depths: dict[Tree, float] = {tree: tree.depth}
23
23
  for node in tree.iter_descendants():
24
24
  parent_depth = depths[node.parent] # pyright: ignore
25
- depths[node] = tree.branch_length_or_raise() + parent_depth
25
+ depths[node] = node.branch_length_or_raise() + parent_depth
26
26
  return depths
27
27
 
28
28
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phylogenie
3
- Version: 3.0.0
3
+ Version: 3.1.1
4
4
  Summary: Generate phylogenetic datasets with minimal setup effort
5
5
  Author: Gabriele Marino
6
6
  Author-email: gabmarino.8601@gmail.com
@@ -30,11 +30,11 @@ phylogenie/treesimulator/io/newick.py,sha256=8Pr_jixByPOaVch18w-rFt62HYy0U97YMu0
30
30
  phylogenie/treesimulator/io/nexus.py,sha256=7g5lHb1GZczdLIXnkOUwjwTYtLZJX_4C-zOD4TW_Dao,1628
31
31
  phylogenie/treesimulator/model.py,sha256=L0RsL6H1ynFDPecULniSs4Cs8dvz87ovviQOXFy5Qt0,4580
32
32
  phylogenie/treesimulator/tree.py,sha256=-yMW14018x9dw45TonS6nRlzWcwXcaHv3Jn5HYriLQQ,6009
33
- phylogenie/treesimulator/utils.py,sha256=ZA7gZYTBMDyt6Fjv4dVI1a9HUsAtTtzHvDkLE_jUpIw,3416
33
+ phylogenie/treesimulator/utils.py,sha256=OxZwVHxN004Jf-kYZ_GfJgIY0beo-0tYq80CuFGQt-M,3416
34
34
  phylogenie/typeguards.py,sha256=JtqmbEWJZBRHbWgCvcl6nrWm3VcBfzRbklbTBYHItn0,1325
35
35
  phylogenie/typings.py,sha256=p694PBe_tk25A6N8vGGWxuqoDtt3nHFUsIYJrwR_76Y,494
36
- phylogenie-3.0.0.dist-info/LICENSE.txt,sha256=NUrDqElK-eD3I0WqC004CJsy6cs0JgsAoebDv_42-pw,1071
37
- phylogenie-3.0.0.dist-info/METADATA,sha256=j8dRenC33-Ab4NTcgawv6_kRJbpvC6fyDF2AyD-IeEo,5476
38
- phylogenie-3.0.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
39
- phylogenie-3.0.0.dist-info/entry_points.txt,sha256=Rt6_usN0FkBX1ZfiqCirjMN9FKOgFLG8rydcQ8kugeE,51
40
- phylogenie-3.0.0.dist-info/RECORD,,
36
+ phylogenie-3.1.1.dist-info/LICENSE.txt,sha256=NUrDqElK-eD3I0WqC004CJsy6cs0JgsAoebDv_42-pw,1071
37
+ phylogenie-3.1.1.dist-info/METADATA,sha256=tI27FQyUYrIiTxygC2M_g8I-ruY_R3OFEi_hK2cAmg4,5476
38
+ phylogenie-3.1.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
39
+ phylogenie-3.1.1.dist-info/entry_points.txt,sha256=Rt6_usN0FkBX1ZfiqCirjMN9FKOgFLG8rydcQ8kugeE,51
40
+ phylogenie-3.1.1.dist-info/RECORD,,