* used for scoring at the time
*/
public double setNodeAttributesAndGetMaxScore() {
for (CyNode n : network.getNodeList()) {
Long rgi = n.getSUID();
CyTable netNodeTbl = network.getDefaultNodeTable();
if (netNodeTbl.getColumn(CLUSTER_ATTR) == null)
netNodeTbl.createListColumn(CLUSTER_ATTR, String.class, false);
if (netNodeTbl.getColumn(NODE_STATUS_ATTR) == null)
netNodeTbl.createColumn(NODE_STATUS_ATTR, String.class, false);
if(currentParamsCopy.getAlgorithm().equals(ParameterSet.MCODE)){
if (netNodeTbl.getColumn("Score") == null) {
netNodeTbl.createColumn("Score", Double.class, false);
}
}
/*if (netNodeTbl.getColumn(SCORE_ATTR) == null)
netNodeTbl.createColumn(SCORE_ATTR, Double.class, false);*/