Skip to content

Check for the diameter type

Luis Aleixo requested to merge feature/post_init_diameter_validation into master

Closes https://gitlab.cern.ch/cara/cara/-/issues/242

Added a __post_init__ check on the ExposureModel for the case when the diameter is an array. In this situation, none of the ventilation parameters, room volume or virus decay constant can be arrays.

Added respective tests.

Edited by Luis Aleixo

Merge request reports