Make param use_layers true when using synthpops
@@ -111,6 +111,9 @@ def make_people(sim, verbose=None, die=True, reset=False):
if pop_type == 'random':
popdict = make_randpop(sim)
elif pop_type == 'synthpops':
+ # If we use synthpops, we param['use_layers'] should always be True
+ p = {'use_layers': True}
+ sim.update_pars(p)
popdict = make_synthpop(sim)
else:
raise NotImplementedError
