Skip to content

Commit

Permalink
gs-ir: updated OcrPersistence to save the data for the new model
Browse files Browse the repository at this point in the history
  • Loading branch information
plassalas committed Oct 24, 2017
1 parent c36a492 commit 702312d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.genericsystem.ir;

import org.genericsystem.common.Root;
import org.genericsystem.cv.comparator.FillModelWithData;
import org.genericsystem.cv.classifier.FillNewModelWithData;

import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
Expand Down Expand Up @@ -29,7 +29,7 @@ public String getAction() {
protected void handle(Future<Object> future, JsonObject task) {
JsonObject data = task.getJsonObject(DistributedVerticle.JSON_OBJECT);
try {
FillModelWithData.saveOcrDataInModel(engine, data);
FillNewModelWithData.saveOcrDataInModel(engine, data);
future.complete();
} catch (RuntimeException e) {
future.fail(e);
Expand Down

0 comments on commit 702312d

Please sign in to comment.