Skip to content

Commit

Permalink
Remove prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 16, 2024
1 parent 4023bb6 commit 3db5ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/hub/dataload/sources/civic/civic_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def load_data(data_folder):
raise ValueError("The value of source_type is not one of PubMed or ASCO, it's {}, need to restructure parser".format(_evidence['node']['source']['sourceType']))
new_doc["civic"] = doc
new_doc["civic"].pop("myVariantInfo")
print("### new_doc")
print(new_doc)
# print("### new_doc")
# print(new_doc)
yield dict_sweep(unlist(new_doc), ['', 'null', 'N/A', None, [], {}])

# change doid into its formal representation, which should be sth like DOID:1
Expand Down
2 changes: 0 additions & 2 deletions src/hub/dataload/sources/civic/graphql_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def get_variants_list(self, api_url: str):
hasNextPage = True
while hasNextPage:
response_data = GraphqlVariants().fetch(api_url=api_url)
print("### response_data")
print(response_data)
if "data" in response_data:
for variant in response_data["data"]["browseVariants"]["edges"]:
ids.append(variant["node"]["id"])
Expand Down

0 comments on commit 3db5ca8

Please sign in to comment.