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