Skip to content

Commit

Permalink
fix modinf.subpop_structure call in interface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saraloo committed Oct 24, 2023
1 parent 439cc5b commit e2e5cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/src/gempyor/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def get_seir_parameter_reduced(
parameters = self.modinf.parameters.parameters_reduce(p_draw, npi_seir)

full_df = pd.DataFrame()
for i, subpop in enumerate(self.modinf.spatset.subpop_names):
for i, subpop in enumerate(self.modinf.subpop_struct.subpop_names):
a = pd.DataFrame(
parameters[:, :, i].T,
columns=self.modinf.parameters.pnames,
Expand Down

0 comments on commit e2e5cd0

Please sign in to comment.