mention which model is non-conform

This commit is contained in:
Joeri Exelmans 2024-12-04 15:48:18 +01:00
parent 77ea19fcd6
commit 5c3026d1f6

View file

@ -22,6 +22,7 @@ def parse_and_check(state, m_cs, mm, descr: str, check_conformance=True, type_tr
errors = conf.check_nominal()
if len(errors) > 0:
print(render_conformance_check_result(errors))
print(" model: " + descr)
except Exception as e:
e.add_note("In model " + descr)
raise