Skip to content

Commit a8e2344

Browse files
authored
Merge pull request #388 from falquaddoomi/issue387-empty-categories
Renames 'category' to 'categories' in datamodel.serializers
2 parents f1276f0 + ed87a04 commit a8e2344

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

biolink/datamodel/serializers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
# text annotate
334334
token = api.model('Token', {
335335
'id': fields.String(description='The CURIE for the entity or token'),
336-
'category': fields.List(fields.String, description='entity categories'),
336+
'categories': fields.List(fields.String, description='entity categories'),
337337
'terms': fields.List(fields.String, description='terms')
338338
})
339339

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
prefixcommons>=0.0
2-
ontobio>=2.7.14
2+
# ontobio>=2.7.14
3+
git+https://github.com/monarch-initiative/ontobio.git@baf3b5a7344fe6dda9c3980c8d472655431cb5df#egg=ontobio
34
pip>=9.0.1
45
wheel>0.25.0
56
markupsafe==2.0.1

0 commit comments

Comments
 (0)