Closed cliffckerr closed 7 months ago
Error message is meaningful now, still an error, but that depends on #103
import starsim as ss
ppl = ss.People(1000)
networks = ss.ndict(ss.StaticNet())
gon = ss.Gonorrhea()
gon.pars['beta'] = {'static': [0.02, 0.01]}
sim1 = ss.Sim(people=ppl, diseases=gon, networks=networks)
sim1.run()
sim2 = ss.Sim(people=ppl, diseases=gon, networks=networks)
sim2.run()
due to
par
andpar_dists
having been transformed and this code not handling that case: