Skip to content

Commit

Permalink
Merge pull request #36 from pnnl/CODEVERIFY-41
Browse files Browse the repository at this point in the history
Fixes unresolved reference in libcases
  • Loading branch information
leijerry888 authored Sep 23, 2024
2 parents 0c00d86 + acfc662 commit d1eb8c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion constrain/libcases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]}"
Expand Down

0 comments on commit d1eb8c9

Please sign in to comment.