diff --git a/src/main/java/eu/hbp/mip/akka/ExperimentActor.java b/src/main/java/eu/hbp/mip/akka/ExperimentActor.java index 597cca20da8dff7e28ab4e3d5d48f2f07846e8ad..002bec8fd54544b11f8a094d015106dcfd0a2c5c 100644 --- a/src/main/java/eu/hbp/mip/akka/ExperimentActor.java +++ b/src/main/java/eu/hbp/mip/akka/ExperimentActor.java @@ -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; diff --git a/src/main/java/eu/hbp/mip/model/Experiment.java b/src/main/java/eu/hbp/mip/model/Experiment.java index c4baf011f2cdeafd62602ea414aef704e82a5479..b1c903ff8e481d36ea4b42b8c767ff73cd3de6f9 100644 --- a/src/main/java/eu/hbp/mip/model/Experiment.java +++ b/src/main/java/eu/hbp/mip/model/Experiment.java @@ -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)); }