Skip to content

Commit

Permalink
fixed pharos issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mygene_hub committed Sep 24, 2024
1 parent 57da845 commit ccc25ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hub/dataload/sources/pharos/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def load_data(input_file, tdl_file):
result[str(_id)].append(int(pharos_id))
for k, v in result.items():
if tdl := entrez_tdls.get(k):
json_doc = {"_id": str(k), "pharos": {"target_id": v}, "tdl": tdl}
json_doc = {"_id": str(k), "pharos": {"target_id": v, "tdl": tdl}}
yield unlist(json_doc)

0 comments on commit ccc25ad

Please sign in to comment.