Skip to content

Commit

Permalink
skipping missing UniProts in TopDB
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Aug 4, 2020
1 parent ebeb489 commit f2d0fc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pypath/inputs/topdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ def topdb_annotations(ncbi_tax_id = 9606):
uniprots,
):

if uniprot is None:

continue

result[uniprot].add(
TopdbAnnotation(
membrane = membrane,
Expand Down

0 comments on commit f2d0fc1

Please sign in to comment.