From 9c89b6747ac4677455ce176ffabd013213dc71ce Mon Sep 17 00:00:00 2001 From: j Date: Fri, 10 Aug 2018 14:42:23 +0100 Subject: [PATCH] typos --- ontology/ontology.json | 2 +- ontology/update_keywords.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ontology/ontology.json b/ontology/ontology.json index 620f5e5..df657c9 100644 --- a/ontology/ontology.json +++ b/ontology/ontology.json @@ -363,7 +363,7 @@ "fish": {}, "moth": {}, "hamster": {} - }, + } }, "type": { "analogist": {}, diff --git a/ontology/update_keywords.py b/ontology/update_keywords.py index df183d2..1b8621e 100755 --- a/ontology/update_keywords.py +++ b/ontology/update_keywords.py @@ -21,7 +21,7 @@ for annotation in api.findAnnotations({ 'keys': ['id', 'in', 'out', 'value', 'user', 'created'], 'range': [0, 500000] })['data']['items']: - if annotatoin['id'].startswith('BA/'): + if annotation['id'].startswith('BA/'): continue keyword = annotation['value'] if ': ' not in keyword: