Skip to content

Commit

Permalink
Merge branch 'patch_checkCondition' into issue427_oct_verification
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Feb 2, 2022
2 parents b638f88 + 3a754f2 commit df908ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildingspy/development/regressiontest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2732,8 +2732,9 @@ def _checkReferencePoints(self, ans):
self._isPresentAndTrue('exportFMU', data[self._modelica_tool]))
# Only if the simulation was successful are we reading the results.
# (Simulation errors are reported earlier already.)
if 'simulation' in data[self._modelica_tool]:
check_condition = check_condition and data[self._modelica_tool]['simulation']['success']
check_condition = check_condition and \
'simulation' in data[self._modelica_tool] and \
data[self._modelica_tool]['simulation']['success']

if check_condition:
get_user_prompt = True
Expand Down

0 comments on commit df908ca

Please sign in to comment.