Commit 1eb4c390 authored by Michael Menzel's avatar Michael Menzel
Browse files

fixed batch start without cell line independent annotation

parent 8cbbe0bd
...@@ -97,7 +97,7 @@ class AnalysisHelper { ...@@ -97,7 +97,7 @@ class AnalysisHelper {
private ResultCollector runAnalysis(Sites sites, BackendCommand cmd) throws CovariatesException, NoTracksLeftException { private ResultCollector runAnalysis(Sites sites, BackendCommand cmd) throws CovariatesException, NoTracksLeftException {
List<Track> covariants = getCovariants(cmd.getCovariants(), cmd.getAssembly()); List<Track> covariants = getCovariants(cmd.getCovariants(), cmd.getAssembly());
final Sites[] bg = new Sites[1]; final Sites[] bg = new Sites[1];
Double smooth = 10d; //cmd.getInfluence(); //TODO use user defined value Double smooth = 0d; //cmd.getInfluence(); //TODO use user defined value
int minSites = cmd.getMinBg(); int minSites = cmd.getMinBg();
ExecutorService pool = Executors.newFixedThreadPool(1); ExecutorService pool = Executors.newFixedThreadPool(1);
...@@ -237,6 +237,7 @@ class AnalysisHelper { ...@@ -237,6 +237,7 @@ class AnalysisHelper {
tracks = tracks.stream().filter(distinctByKey(Track::getName)).collect(Collectors.toList()); tracks = tracks.stream().filter(distinctByKey(Track::getName)).collect(Collectors.toList());
for (Sites sites : batchSites) { for (Sites sites : batchSites) {
try { try {
results.addResult(runAnalysisWithBg(sites, bg, tracks, false)); results.addResult(runAnalysisWithBg(sites, bg, tracks, false));
} catch (NoTracksLeftException e) { } catch (NoTracksLeftException e) {
......
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