Spaces:
Running
Running
Commit
·
2dcb694
1
Parent(s):
e24bc71
updated storage
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ if edit_mode:
|
|
91 |
rec = existing[sel - 1]
|
92 |
# Find corresponding pair
|
93 |
for p in pairs:
|
94 |
-
if p[0].get("
|
95 |
edit_pair = p
|
96 |
break
|
97 |
|
|
|
91 |
rec = existing[sel - 1]
|
92 |
# Find corresponding pair
|
93 |
for p in pairs:
|
94 |
+
if p[0].get("hadm_id") == rec["id1"] and p[1].get("hadm_id") == rec["id2"]:
|
95 |
edit_pair = p
|
96 |
break
|
97 |
|