Skip to content

Commit

Permalink
Handle CGNC missing names
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Mar 24, 2024
1 parent 1757595 commit 56ecd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyobo/sources/cgnc.py
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ def get_terms(force: bool = False) -> Iterable[Term]:
term = Term.from_triple(
prefix=PREFIX,
identifier=cgnc_id,
name=name,
name=name if pd.notna(name) else None,
)
term.set_species(identifier="9031", name="Gallus gallus")
if entrez_id and pd.notna(entrez_id):

0 comments on commit 56ecd93

Please sign in to comment.