starsimhub / starsim

Starsim disease modeling framework
http://starsim.org
MIT License
17 stars 11 forks source link

Raise an exception for invalid Dist args #741

Open cliffckerr opened 3 weeks ago

cliffckerr commented 3 weeks ago

This works since kwargs are passed to SciPy distributions, but should make it more robust for the user.

ss.constant(invalid=1)
cliffckerr commented 1 week ago

Not easy from how kwargs are passed