From aa0725c7279d739daaa1a3475cbfb17a1c28f12c Mon Sep 17 00:00:00 2001 From: Cole Blanchard Date: Mon, 3 Jun 2024 12:22:09 -0400 Subject: [PATCH] fix: model params --- src/askem_beaker/contexts/mira_config_edit/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/askem_beaker/contexts/mira_config_edit/context.py b/src/askem_beaker/contexts/mira_config_edit/context.py index 0f03b04..a95a13b 100644 --- a/src/askem_beaker/contexts/mira_config_edit/context.py +++ b/src/askem_beaker/contexts/mira_config_edit/context.py @@ -40,8 +40,8 @@ def reset(self): async def setup(self, context_info, parent_header): logger.error(f"performing setup...") self.config["context_info"] = context_info - item_id = config["context_info"]["id"] - item_type = config["context_info"].get("type", "model_config") + item_id = self.config["context_info"]["id"] + item_type = self.config["context_info"].get("type", "model_config") logger.error(f"Processing {item_type} AMR {item_id} as a MIRA model") await self.set_model_config( item_id, item_type, parent_header=parent_header