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

bugfix

parent 3df7d82b
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,14 @@ public class Experiment {
Collection<Variable> covarsQueryColl = new LinkedHashSet<>(covarsQuery);
model.getQuery().setCovariables(new LinkedList<>(covarsQueryColl));
List<Variable> varsQuery = model.getQuery().getVariables();
Collection<Variable> varsQueryColl = new LinkedHashSet<>(varsQuery);
model.getQuery().setVariables(new LinkedList<>(varsQueryColl));
List<Variable> grpsQuery = model.getQuery().getCovariables();
Collection<Variable> grpsQueryColl = new LinkedHashSet<>(grpsQuery);
model.getQuery().setGrouping(new LinkedList<>(grpsQueryColl));
outgoingQuery.add("covariables", gson.toJsonTree(model.getQuery().getCovariables()));
outgoingQuery.add("variables", gson.toJsonTree(model.getQuery().getVariables()));
outgoingQuery.add("filters", gson.toJsonTree(model.getQuery().getFilters()));
......
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