From 884245cd918d2c66fb69cb8fe390de4d9fbdd52b Mon Sep 17 00:00:00 2001 From: Julian Slane Date: Wed, 1 May 2024 12:44:43 -0700 Subject: [PATCH] Fixed unresolved reference issue --- constrain/libcases.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/constrain/libcases.py b/constrain/libcases.py index 3ce0d12a..62d0df2d 100644 --- a/constrain/libcases.py +++ b/constrain/libcases.py @@ -40,8 +40,11 @@ def run_libcase( run_idf_path = None idd_path = None run_path = None - if need_injection: + + if need_injection or run_sim: original_idf_path = item.item["simulation_IO"]["idf"].strip() + + if need_injection: idd_path = item.item["simulation_IO"]["idd"].strip() if ".idf" in original_idf_path.lower(): run_path = f"{original_idf_path[:-4]}"