fixed age structure test (for me)
@@ -5,7 +5,7 @@ Simple example usage for the Covid-19 agent-based model
#%% Imports and settings
import pylab as pl
import sciris as sc
-from covasim import cova_seattle
+import covasim.cova_seattle as cova
doplot = 1
figsize = (20,16)
@@ -18,12 +18,12 @@ def test_age_structure(doplot=False): # If being run via pytest, turn off
# Create and run the simulation without age structure
sims = sc.objdict()
- sims.without = cova_seattle.Sim()
+ sims.without = cova.Sim()
sims.without['usepopdata'] = 0
sims.without.run(verbose=1)
# ...and with
- sims.withdata = cova_seattle.Sim()
+ sims.withdata = cova.Sim()
sims.withdata['usepopdata'] = 1
sims.withdata.run(verbose=1)
