From 6e1f3bd16a680aaecf601e4995a2119267072c99 Mon Sep 17 00:00:00 2001 From: Ozbolt Menegatti Date: Wed, 8 Jul 2020 21:21:10 +0200 Subject: [PATCH] saving example_id correctly (see import of corpus example) --- src/message/ske_messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message/ske_messages.py b/src/message/ske_messages.py index 6900cdf..1a84b3e 100644 --- a/src/message/ske_messages.py +++ b/src/message/ske_messages.py @@ -220,7 +220,7 @@ class SkeInsert(DataChgClickMessage): def _as_corpus_example(self, example): new_example = Example() new_example.inner = CorpusExample() - new_example.inner.other_attributes["exampleId"] = example.s_id + new_example.inner.other_attributes["example_id"] = example.s_id new_example.inner.cluster = ExampleClusters.first_empty_cluster() lex_left = ComponentLexeme()