Skip to content
Snippets Groups Projects
Commit e66d7996 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

fix algo params sent to woken

parent 72331bce
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ public class ExperimentActor extends UntypedActor {
@Override
public void onReceive(Object message) {
log.info("\n\n***** ExperimentActor received response from woken\n");
UUID uuid = UUID.fromString(this.getSelf().path().name());
if (message instanceof QueryResult) {
QueryResult queryResult = (QueryResult) message;
......
......@@ -124,7 +124,7 @@ public class Experiment {
scala.collection.immutable.HashMap<String, String> params = new HashMap<>();
for (AlgorithmParam ap: a.getParameters()
) {
params.updated(ap.getCode(), ap.getValue());
params = params.updated(ap.getCode(), ap.getValue());
}
algorithms.add(new Algorithm(a.getCode(), a.getName(), params));
}
......@@ -136,7 +136,7 @@ public class Experiment {
scala.collection.immutable.HashMap<String, String> params = new HashMap<>();
for (AlgorithmParam ap: v.getParameters()
) {
params.updated(ap.getCode(), ap.getValue());
params = params.updated(ap.getCode(), ap.getValue());
}
validations.add(new Validation(v.getCode(), v.getName(), params));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment