From a14a2b232b51f52390bf8d4db33afefba73436fb Mon Sep 17 00:00:00 2001 From: Mohammed El-Kebir Date: Thu, 3 Apr 2014 11:58:53 +0200 Subject: [PATCH] Removed group score dependency for ordinary nodes, and bug in group scores --- .../java/org/cytoscape/examine/internal/data/DataSet.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/cytoscape/examine/internal/data/DataSet.java b/src/main/java/org/cytoscape/examine/internal/data/DataSet.java index 9a38c81..7c245ef 100644 --- a/src/main/java/org/cytoscape/examine/internal/data/DataSet.java +++ b/src/main/java/org/cytoscape/examine/internal/data/DataSet.java @@ -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, @@ -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();