mastrof / Bactos.jl

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

Timekeeping #64

Closed mastrof closed 1 year ago

mastrof commented 1 year ago

Introduces a new model property t which keeps track of current simulation time (number of steps). Can be used to control other model properties in a time-dependent way.

Closes #14

codecov[bot] commented 1 year ago

Codecov Report

Base: 52.94% // Head: 53.10% // Increases project coverage by +0.16% :tada:

Coverage data is based on head (10eae93) compared to base (bff2371). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #64 +/- ## ========================================== + Coverage 52.94% 53.10% +0.16% ========================================== Files 18 18 Lines 578 580 +2 ========================================== + Hits 306 308 +2 Misses 272 272 ``` | [Impacted Files](https://codecov.io/gh/mastrof/Bactos.jl/pull/64?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi) | Coverage Δ | | |---|---|---| | [src/model.jl](https://codecov.io/gh/mastrof/Bactos.jl/pull/64/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi#diff-c3JjL21vZGVsLmps) | `96.29% <ø> (ø)` | | | [src/step\_model.jl](https://codecov.io/gh/mastrof/Bactos.jl/pull/64/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Riccardo+Foffi#diff-c3JjL3N0ZXBfbW9kZWwuamw=) | `100.00% <100.00%> (ø)` | | 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.