Skip to content

Commit

Permalink
Remove items called node and edges.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 24, 2024
1 parent f7d9714 commit 241dd30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hub/dataload/sources/civic/civic_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def load_data(data_folder):
new_doc["civic"].pop("myVariantInfo")
new_doc = remove_nodes_and_edges(new_doc)
new_doc["civic"]["molecularProfiles"] = new_doc["civic"]["molecularProfiles"]["nodes"]
new_doc["civic"]["v"] = "1.0"
yield dict_sweep(unlist(new_doc), ['', 'null', 'N/A', None, [], {}])

logging.info("number of ids with ref, alt, chrom: {}".format(no_case1))
Expand Down

0 comments on commit 241dd30

Please sign in to comment.