Skip to content

Commit

Permalink
Actually load evidence json
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Jan 22, 2024
1 parent 2d90ce2 commit 84c3d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indra_cogex/sources/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def assert_valid_node(
) -> Optional[Dict[str, bool]]:
if db_ns == "indra_evidence":
if data and data.get("evidence:string"):
ev = Evidence._from_json(json.loads(data["evidence"]))
ev = Evidence._from_json(json.loads(data["evidence:string"]))
assert_valid_evidence(ev)
else:
assert_valid_db_refs({db_ns: db_id})
Expand Down

0 comments on commit 84c3d28

Please sign in to comment.