Commit e60c8af1 authored by Michael Menzel's avatar Michael Menzel

P value filter for custom tracks and custom bg disabled

parent 3ac603de
......@@ -259,6 +259,9 @@ public class ControllerHelper {
command.setPositionCount(data.getPositionCount());
command.setAssembly(collector.getAssembly().toString());
if (model.containsAttribute("showall") && model.asMap().get("showall").equals(true))
command.setShowall(true);
//cut off filenames longer than 18 chars:
if(filename != null)
filename = filename.length() > 18 ? filename.substring(0, 15) + ".." : filename;
......
......@@ -176,6 +176,7 @@ public class UploadController {
currentSession.setCollector(collector);
model.addAttribute("showall", true);
setModel(model, collector, currentSession.getSites(), name);
model.addAttribute("covariants", new ArrayList<>());
model.addAttribute("covariantCount", 0);
......@@ -274,6 +275,7 @@ public class UploadController {
}
model.addAttribute("showall", true);
return withNewTrack(currentSession, model);
}
......
......@@ -180,19 +180,19 @@ public class WizardController {
stats.addFileC();
currentSession.setCollector(collector);
/*
interfaceCommand.setMinBg(10000);
interfaceCommand.setOriginalFilename(currentSession.getOriginalFilename());
interfaceCommand.setHotspots(collector.getHotspots());
model.addAttribute("interfaceCommand", interfaceCommand);
model.addAttribute("interfaceCommand", newInterfaceCommand);
*/
model.addAttribute("tracks", currentSession.getCollector().getInOutResults(false));
model.addAttribute("page", "covariates");
model.addAttribute("sigTrackCount", collector.getSignificantTrackCount());
model.addAttribute("trackCount", collector.getTrackCount());
//TODO
return "result";
}
return "error";
......
Markdown is supported
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