Skip to content

Commit

Permalink
Merge pull request #388 from falquaddoomi/issue387-empty-categories
Browse files Browse the repository at this point in the history
Renames 'category' to 'categories' in datamodel.serializers
  • Loading branch information
falquaddoomi authored Apr 7, 2022
2 parents f1276f0 + ed87a04 commit a8e2344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion biolink/datamodel/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
# text annotate
token = api.model('Token', {
'id': fields.String(description='The CURIE for the entity or token'),
'category': fields.List(fields.String, description='entity categories'),
'categories': fields.List(fields.String, description='entity categories'),
'terms': fields.List(fields.String, description='terms')
})

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
prefixcommons>=0.0
ontobio>=2.7.14
# ontobio>=2.7.14
git+https://github.com/monarch-initiative/ontobio.git@baf3b5a7344fe6dda9c3980c8d472655431cb5df#egg=ontobio
pip>=9.0.1
wheel>0.25.0
markupsafe==2.0.1
Expand Down

0 comments on commit a8e2344

Please sign in to comment.