Skip to content

Commit

Permalink
Fixed SIFImporter using wrong delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLarsen committed Apr 27, 2017
1 parent 45fe01a commit 8937404
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void read(Graph<Node,Edge> network, File file) throws FileNotFoundExcepti

if(first_line) {
first_line = false;
if(line.contains("\t")) delimiter = " ";
if(line.contains("\t")) delimiter = "\t";
}

String[] parts = line.split(delimiter);
Expand Down

0 comments on commit 8937404

Please sign in to comment.