Skip to content

Commit

Permalink
Merge pull request #134 from DARPA-ASKEM/fix-model-params
Browse files Browse the repository at this point in the history
fix: model params
  • Loading branch information
blanchco authored Jun 3, 2024
2 parents 0f2f006 + aa0725c commit 87d35f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/askem_beaker/contexts/mira_config_edit/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87d35f0

Please sign in to comment.