From e2e5cd0ea28b56bb06edee9c328c920a43372231 Mon Sep 17 00:00:00 2001 From: saraloo <45245630+saraloo@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:53:01 -0400 Subject: [PATCH] fix modinf.subpop_structure call in interface.py --- flepimop/gempyor_pkg/src/gempyor/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,