Commit 10f85afe authored by Michael Menzel's avatar Michael Menzel

custom tracks are loaded as 'inout' again

parent 611b9c13
......@@ -151,10 +151,10 @@ public final class TrackFactory {
String customtrackpath = BackendServer.customtrackpath;
Files.walk(Paths.get(customtrackpath))
.filter(Files::isRegularFile)
.filter(f -> f.getFileName().toString().endsWith(".bed"))
.forEach(f -> customTracks.add(new TrackEntry(f.getFileName().toString(),"Custom track: " + f.getFileName(),
customtrackpath + f.getFileName().toString(), "inout", Genome.Assembly.GRCh38.toString(), "Unknown", 14003120, "Genetic", 1412123 + f.getFileName().hashCode(), "nosource", "nourl")));
.filter(Files::isRegularFile)
.filter(f -> f.getFileName().toString().endsWith(".bed"))
.forEach(f -> customTracks.add(new TrackEntry(f.getFileName().toString(), "Custom track: " + f.getFileName(),
customtrackpath + f.getFileName().toString(), "inout", Genome.Assembly.hg19.toString(), "Unknown", 375376, "Genetic", 1412123 + f.getFileName().hashCode(), "nosource", "nourl")));
} catch (IOException e) {
e.printStackTrace();
}
......
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