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

Use `checkmate` naming conventions for internal input checkers #222

Open jamesmbaazam opened 5 months ago

jamesmbaazam commented 5 months ago

This is not strictly part of this PR, but noticed it anyway. In {epidemics} I've tried to follow the {checkmate} naming style for input checking functions. So if this is an assert which errors when not true, could it be named .assert_offspring_func_valid()?

_Originally posted by @pratikunterwegs in https://github.com/epiverse-trace/epichains/pull/220#discussion_r1522939823_