From 4587b09227f9dc04b1fc8449e216e43c5e7ab3c2 Mon Sep 17 00:00:00 2001 From: liuly12 Date: Wed, 2 Oct 2024 15:18:03 +0100 Subject: [PATCH] qa --- wsimod/nodes/nodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wsimod/nodes/nodes.py b/wsimod/nodes/nodes.py index 4838e965..b3a2dfdf 100644 --- a/wsimod/nodes/nodes.py +++ b/wsimod/nodes/nodes.py @@ -12,6 +12,7 @@ from wsimod.core.core import WSIObj from wsimod.orchestration.model import read_csv + class Node(WSIObj): """""" @@ -88,7 +89,7 @@ def apply_overrides(self, overrides: Dict[str, Any] = {}) -> None: overrides (dict, optional): Dictionary of overrides. Defaults to {}. """ # overrides data_input_dict - + content = overrides.pop("data_input_dict", self.data_input_dict) if isinstance(content, str): self.data_input_dict = read_csv(content)