diff --git a/src/main/java/application/controllers/MainController.java b/src/main/java/application/controllers/MainController.java index dbc32e2..7a16ef9 100644 --- a/src/main/java/application/controllers/MainController.java +++ b/src/main/java/application/controllers/MainController.java @@ -61,8 +61,6 @@ public MainController() { this.count = -1; this.secondCount = -1; -// this.getRoot().getStylesheets().add("/css/main.css"); - ImageView imageView = new ImageView("/DART2N.png"); imageView.fitWidthProperty().bind(this.getRoot().widthProperty()); imageView.fitHeightProperty().bind(this.getRoot().heightProperty()); diff --git a/src/main/java/core/Parser.java b/src/main/java/core/Parser.java index a478919..f01308c 100644 --- a/src/main/java/core/Parser.java +++ b/src/main/java/core/Parser.java @@ -92,17 +92,6 @@ private void processNextLine(String nextLine) { } } -// /** -// * Read gfa file as a resource in the jar. -// * @param input - the input. -// * @return - A HashMap containing the information from the .gfa file. -// */ -// public final HashMap readGFAAsResource(final InputStream input){ -// BufferedReader bReader; -// bReader = new BufferedReader(new InputStreamReader(input)); -// return readGFA(bReader, null); -// } - /** * Read gfa file from a filepath. * @param input - the input @@ -110,16 +99,8 @@ private void processNextLine(String nextLine) { * @throws IOException */ public final HashMap readGFAAsString(final String input, List a) throws IOException{ -// InputStream stream = -// - -// BufferedReader bReader; -// BufferedReader = new BufferedReader(new FileReader(input)); -// FileInputStream fileInputStream = new FileInputStream(input); -// InputStream inputStream = new InputStream(bReader); - return readGFA(fileInputStream, a); } diff --git a/src/main/java/core/graph/Graph.java b/src/main/java/core/graph/Graph.java index 2b23f0c..c3386b2 100644 --- a/src/main/java/core/graph/Graph.java +++ b/src/main/java/core/graph/Graph.java @@ -62,11 +62,6 @@ public Graph() { annotations = readCDSFilteredGFF( getClass().getResourceAsStream("/decorationV5_20130412.gff")); - -// startMap = getNodeMapFromFile(); -// nodeIds = startMap.size(); -// levelMaps = GraphReducer.createLevelMaps(startMap, 1); - } /** @@ -78,8 +73,6 @@ public Graph() { public HashMap getNodeMapFromFile(String s) { try { Parser parser = new Parser(); - InputStream inputStream = getClass().getResourceAsStream("/TB10.gfa"); - //startMap = parser.readGFA(inputStream, annotations); startMap = parser.readGFAAsString(s, annotations); nodeIds = startMap.size();