Skip to content

Commit

Permalink
discard null variant
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Jan 24, 2025
1 parent 3fdcc58 commit f81c98c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/metakb/transformers/civic.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ async def transform(self, harvested_data: CivicHarvestedData) -> None:
for assertion in assertions
if assertion["molecular_profile_id"]
}
vids.discard(None)

# Add variant (only supported) and gene (all) data
# (mutates `variations` and `genes`)
Expand Down

0 comments on commit f81c98c

Please sign in to comment.