epiverse-trace / epichains

[Under active development] Methods for simulating and analysing the sizes and lengths of infectious disease transmission chains from branching process models
https://epiverse-trace.github.io/epichains/
Other
5 stars 2 forks source link

Make `summary` find max of all values including `Inf` and print `>= stat_max` if max is `Inf` #240

Closed jamesmbaazam closed 5 months ago

jamesmbaazam commented 5 months ago

This PR closes #239.

Enhancement.

The summary method finds the max of only the finite values.

The summary method now returns the max of all the values but prints the max as >= stat_max if the max was Inf.

NA

codecov-commenter commented 5 months ago

Codecov Report

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

Project coverage is 98.99%. Comparing base (0ef7e2b) to head (ff0992f).

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #240 +/- ## ========================================== + Coverage 98.80% 98.99% +0.18% ========================================== Files 8 8 Lines 587 595 +8 ========================================== + Hits 580 589 +9 + Misses 7 6 -1 ```

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