Skip to content

Commit 8ded560

Browse files
authored
Catch missing synonym values (#492)
Closes #491
1 parent 633f3dc commit 8ded560

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pyobo/cli/obo_lexical_review.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def _get_calls(
188188
match
189189
for synonym in node.meta.synonyms
190190
for match in matcher.get_matches(synonym.val)
191+
if synonym.val and synonym.val.strip()
191192
)
192193

193194
# there are a lot of NCIT matches, which aren't that informative

0 commit comments

Comments
 (0)