-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
This part
with open(smv_file_path, 'r') as infile:
for line in infile:
if line.strip() == "CHID":
chid = infile.readline().strip()
break
in simulation.py leads in my case to this error:
The failure happens because chid is never set while parsing the SMV (for some reason).
Maybe this function can be enhanced so that in this case the function returns an error.
A bit like:
CHID = None
# function above
if not chid:
raise ValueError(f"Could not determine CHID from {smv_file_path}")
Metadata
Metadata
Assignees
Labels
No labels