Skip to content

Commit

Permalink
Fix Gilda typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 17, 2022
1 parent 4ee58fc commit ef983a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyobo/gilda_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ def get_grounder(
versions = [None] * len(prefixes)
elif isinstance(versions, str):
versions = [versions]
else:
versions = list(versions)
if len(prefixes) != len(versions):
raise ValueError

Expand Down

0 comments on commit ef983a4

Please sign in to comment.