epiverse-trace / epidemics

A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
https://epiverse-trace.github.io/epidemics/
Other
8 stars 2 forks source link

Improve input checking and cross-checking #191

Closed pratikunterwegs closed 2 months ago

pratikunterwegs commented 5 months ago

This issue is to request improvements to input checking and cross-checking, especially for intervention sets, for vectorised inputs.

pratikunterwegs commented 4 months ago

Following #176, the argument check-and-prepare function needs to be used after the scenario combinations are constructed in order to preserve composable element details. The function could be split into a checker and preparation function, as previously existed and this could add to readability.

pratikunterwegs commented 2 months ago

Closing as fixed by changes in #176.