Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Breurkes committed Jun 3, 2016
2 parents bdb529d + f5108c9 commit bf51958
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 28 deletions.
2 changes: 0 additions & 2 deletions src/main/java/application/controllers/MainController.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
19 changes: 0 additions & 19 deletions src/main/java/core/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,34 +92,15 @@ 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<Integer, Node> 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
* @return - A HashMap containing the information from the .gfa file.
* @throws IOException
*/
public final HashMap<Integer, Node> readGFAAsString(final String input, List<Annotation> 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);
}

Expand Down
7 changes: 0 additions & 7 deletions src/main/java/core/graph/Graph.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public Graph() {

annotations = readCDSFilteredGFF(
getClass().getResourceAsStream("/decorationV5_20130412.gff"));

// startMap = getNodeMapFromFile();
// nodeIds = startMap.size();
// levelMaps = GraphReducer.createLevelMaps(startMap, 1);

}

/**
Expand All @@ -78,8 +73,6 @@ public Graph() {
public HashMap<Integer, Node> 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();
Expand Down

0 comments on commit bf51958

Please sign in to comment.