Commit d90ceb11 authored by Michael Menzel's avatar Michael Menzel

added sample controller error on custom servers

parent 5c99c016
......@@ -56,6 +56,11 @@ public class SampleController {
samplefilepath = path+"/HIV-hg19.bed";
}
if (!new File(samplefilepath).exists()) {
model.addAttribute("errorMessage", "The sample file is not available on your system. Please upload any .bed file using the quick start button on the main page.");
return "error";
}
Sessions sessionControll = Sessions.getInstance();
Session currentSession = sessionControll.getSession(httpSession.getId());
StatisticsCollector stats = StatisticsCollector.getInstance();
......
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