From 7437bc3f7f24c2953aaf8719cdd271c3033f4567 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 10 Aug 2018 12:26:48 +0100 Subject: [PATCH] move tree, silence update --- ontology/ontology.json | 14 +++++++------- ontology/update.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ontology/ontology.json b/ontology/ontology.json index e883f82..ed51e9a 100644 --- a/ontology/ontology.json +++ b/ontology/ontology.json @@ -85,12 +85,6 @@ "intellectual activity": {}, "pulse": {}, "respiration": {} - }, - "body": { - "arm": {} - }, - "element": { - "air": {} } }, "the everyday": { @@ -304,6 +298,12 @@ "indoor": {}, "outdoor": {}, "sandal": {} + }, + "element": { + "air": {} + }, + "body": { + "arm": {} } } } @@ -425,4 +425,4 @@ } } } -} \ No newline at end of file +} diff --git a/ontology/update.py b/ontology/update.py index c4dfb43..d40fd3f 100755 --- a/ontology/update.py +++ b/ontology/update.py @@ -60,7 +60,7 @@ if __name__ == '__main__': if parent not in tree['missing']: tree['missing'][parent] = {} tree['missing'][parent][child] = {} - print('missing root - %s: %s' % (parent, child)) + #print('missing root - %s: %s' % (parent, child)) #print(json.dumps(tree, indent=4, sort_keys=True)) sized_ontology = {