diff --git a/flepimop/gempyor_pkg/src/gempyor/interface.py b/flepimop/gempyor_pkg/src/gempyor/interface.py index bccdc7204..feba951f7 100644 --- a/flepimop/gempyor_pkg/src/gempyor/interface.py +++ b/flepimop/gempyor_pkg/src/gempyor/interface.py @@ -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,