Skip to content

Commit

Permalink
bugfix engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mooey5775 committed Oct 2, 2022
1 parent 7aa412d commit b5b90e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions constraint_engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_patient_data():
"""
return {
"side": "left",
"site": "brain",
"site": "abdomen",
"allergies": ["Digoxin"],
}

Expand All @@ -83,7 +83,7 @@ def get_mistakes(data, sim_graph, id_to_name, name_to_id):
mistakes.append(["Wrong_side"])

# SITE
for site in data["site"]:
for site in data["sites"]:
if site != patient["site"]:
mistakes.append(["Wrong_site",
{"actual": patient["site"], "wrong": site}])
Expand Down

0 comments on commit b5b90e4

Please sign in to comment.