Skip to content

Commit

Permalink
Removed group score dependency for ordinary nodes, and bug in group s…
Browse files Browse the repository at this point in the history
…cores
  • Loading branch information
melkebir committed Apr 3, 2014
1 parent ffce9f3 commit a14a2b2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public void load(CyNetwork cyNetwork,

if(row != null) {
float score = 0;
if (scoreColumnName != null) {
score = row.get(scoreColumnName, Double.class).floatValue();
}
//if (scoreColumnName != null) {
// score = row.get(scoreColumnName, Double.class).floatValue();
//}
HNode hN = new HNode(
cyNode,
row,
Expand Down Expand Up @@ -174,7 +174,7 @@ public void load(CyNetwork cyNetwork,

Double bScore = null;
if (scoreColumnName != null) {
mRow.get(scoreColumnName, Double.class);
bScore = mRow.get(scoreColumnName, Double.class);
}
float score = bScore == null ? Float.NaN : bScore.floatValue();

Expand Down

0 comments on commit a14a2b2

Please sign in to comment.