YosefLab / Cassiopeia

A Package for Cas9-Enabled Single Cell Lineage Tracing Tree Reconstruction
https://cassiopeia-lineage.readthedocs.io/en/latest/
MIT License
75 stars 24 forks source link

Newick string branch length support #232

Closed colganwi closed 7 months ago

colganwi commented 10 months ago

This PR enables instantiation of the CassiopeiaTree with newick strings that contain branch lengths. Previously branch lengths were ignored with all branch lengths being set to 1.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2ca07df) 79.53% compared to head (0f7c330) 79.53%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #232 +/- ## ======================================= Coverage 79.53% 79.53% ======================================= Files 89 89 Lines 8064 8064 ======================================= Hits 6414 6414 Misses 1650 1650 ``` | [Files](https://app.codecov.io/gh/YosefLab/Cassiopeia/pull/232?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=YosefLab) | Coverage Δ | | |---|---|---| | [cassiopeia/data/utilities.py](https://app.codecov.io/gh/YosefLab/Cassiopeia/pull/232?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=YosefLab#diff-Y2Fzc2lvcGVpYS9kYXRhL3V0aWxpdGllcy5weQ==) | `87.70% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.