saving example_id correctly (see import of corpus example)
This commit is contained in:
parent
f1f540e5da
commit
6e1f3bd16a
|
@ -220,7 +220,7 @@ class SkeInsert(DataChgClickMessage):
|
||||||
def _as_corpus_example(self, example):
|
def _as_corpus_example(self, example):
|
||||||
new_example = Example()
|
new_example = Example()
|
||||||
new_example.inner = CorpusExample()
|
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()
|
new_example.inner.cluster = ExampleClusters.first_empty_cluster()
|
||||||
|
|
||||||
lex_left = ComponentLexeme()
|
lex_left = ComponentLexeme()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user