We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e286be commit 7261103Copy full SHA for 7261103
ctakesclient/typesystem.py
@@ -166,7 +166,7 @@ def from_json(self, source: dict):
166
self.conceptAttributes = []
167
168
# sort list of concepts ensuring same ordering
169
- unsorted = list(UmlsConcept(c) for c in source.get('conceptAttributes'))
+ unsorted = list(UmlsConcept(c) for c in source.get('conceptAttributes', []))
170
171
for c in MatchText.sort_concepts(unsorted):
172
self.conceptAttributes.append(c)
0 commit comments