Skip to content
Snippets Groups Projects
Commit a1051b2b authored by Manuel Spuhler's avatar Manuel Spuhler
Browse files

Pass all Exareme parameters as is

parent bbafa04f
No related branches found
No related tags found
No related merge requests found
......@@ -270,15 +270,6 @@ public class ExperimentApi extends WokenClientController {
new Thread(() -> {
List<HashMap<String, String>> queryList = new ArrayList<HashMap<String, String>>();
Query modelQuery = experiment.getModel().getQuery();
queryList.add(makeObject("x", Variable.stringFromVariables(modelQuery.getVariables(), ",")));
List<Variable> mergedCovariables = new ArrayList<Variable>(modelQuery.getCovariables());
queryList.add(makeObject("y", Variable.stringFromVariables(mergedCovariables, ",")));
List<Variable> mergedDatasets = new ArrayList<Variable>(modelQuery.getTrainingDatasets());
queryList.add(makeObject("dataset", Variable.stringFromVariables(mergedDatasets, ",")));
if (params != null) {
for (AlgorithmParam p : params) {
queryList.add(makeObject(p.getName(), p.getValue()));
......
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