mastrof / Bactos.jl

Agent-based modeling framework for bacterial behavior, based on Agents.jl
MIT License
3 stars 0 forks source link

New `MotileState` and `TwoState` types #68

Closed mastrof closed 1 year ago

mastrof commented 1 year ago

Introduces new MotileState type as a wrapper around a mutable state, and a new TwoState type which is enumerated and has instances Forward and Backward.

Closes #66

codecov[bot] commented 1 year ago

Codecov Report

Base: 53.10% // Head: 52.60% // Decreases project coverage by -0.49% :warning:

Coverage data is based on head (e6c21b4) compared to base (f6f059d). Patch coverage: 56.66% of modified lines in pull request are covered.

:exclamation: Current head e6c21b4 differs from pull request most recent head b027419. Consider uploading reports for the commit b027419 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #68 +/- ## ========================================== - Coverage 53.10% 52.60% -0.50% ========================================== Files 18 18 Lines 580 595 +15 ========================================== + Hits 308 313 +5 - Misses 272 282 +10 ``` | [Impacted Files](https://codecov.io/gh/mastrof/Bactos.jl/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi) | Coverage Δ | | |---|---|---| | [src/xie.jl](https://codecov.io/gh/mastrof/Bactos.jl/pull/68/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi#diff-c3JjL3hpZS5qbA==) | `3.44% <0.00%> (-0.48%)` | :arrow_down: | | [src/motility.jl](https://codecov.io/gh/mastrof/Bactos.jl/pull/68/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi#diff-c3JjL21vdGlsaXR5Lmps) | `84.21% <81.25%> (-15.79%)` | :arrow_down: | | [src/rotations.jl](https://codecov.io/gh/mastrof/Bactos.jl/pull/68/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi#diff-c3JjL3JvdGF0aW9ucy5qbA==) | `95.55% <100.00%> (ø)` | | | [src/utils.jl](https://codecov.io/gh/mastrof/Bactos.jl/pull/68/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi#diff-c3JjL3V0aWxzLmps) | `83.33% <100.00%> (-0.67%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.