BjornFJohansson / pydna

Clone with Python! Data structures for double stranded DNA & simulation of homologous recombination, Gibson assembly, cut & paste cloning.
Other
166 stars 45 forks source link

Locations overlap #236

Closed manulera closed 4 months ago

manulera commented 5 months ago

Hi @BjornFJohansson I added an extra function to check if two feature locations overlap. I think it can be quite handy

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 93.66%. Comparing base (6bbfdfc) to head (afeb69d). Report is 5 commits behind head on dev_bjorn.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/BjornFJohansson/pydna/pull/236/graphs/tree.svg?width=650&height=150&src=pr&token=8gKFpo7HAl&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bj%C3%B6rn+Johansson)](https://app.codecov.io/gh/BjornFJohansson/pydna/pull/236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bj%C3%B6rn+Johansson) ```diff @@ Coverage Diff @@ ## dev_bjorn #236 +/- ## ============================================= + Coverage 93.64% 93.66% +0.02% ============================================= Files 40 40 Lines 3854 3868 +14 Branches 573 577 +4 ============================================= + Hits 3609 3623 +14 Misses 196 196 Partials 49 49 ``` | [Files](https://app.codecov.io/gh/BjornFJohansson/pydna/pull/236?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bj%C3%B6rn+Johansson) | Coverage Δ | | |---|---|---| | [src/pydna/utils.py](https://app.codecov.io/gh/BjornFJohansson/pydna/pull/236?src=pr&el=tree&filepath=src%2Fpydna%2Futils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bj%C3%B6rn+Johansson#diff-c3JjL3B5ZG5hL3V0aWxzLnB5) | `93.14% <100.00%> (+0.37%)` | :arrow_up: |