Skip to content

Commit

Permalink
Renames 'category' to 'categories' in datamodel.serializers. Temporar…
Browse files Browse the repository at this point in the history
…ily hardcodes reference to fixed ontobio library in requirements.
  • Loading branch information
falquaddoomi committed Mar 1, 2022
1 parent 97d5c7d commit f53e079
Show file tree
Hide file tree
Showing 2 changed files with 4 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
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
prefixcommons>=0.0
ontobio>=2.7.14
# ontobio>=2.7.14
git+https://github.com/falquaddoomi/ontobio.git@7894361056bf87a69cacb8cefcf10ac4f51f2924#egg=ontobio
pip>=9.0.1
wheel>0.25.0
itsdangerous==2.0.1
Flask==1.1.2
flask-restplus>=0.10.1
Flask-SQLAlchemy>=2.1
Expand Down

0 comments on commit f53e079

Please sign in to comment.