Author: scooter
Date: 2012-01-27 13:50:44 -0800 (Fri, 27 Jan 2012)
New Revision: 28139
Modified:
core3/impl/trunk/group-impl/src/main/java/org/cytoscape/group/internal/CyGroupImpl.java
Log:
Turn off debugging
Modified:
core3/impl/trunk/group-impl/src/main/java/org/cytoscape/group/internal/CyGroupImpl.java
===================================================================
---
core3/impl/trunk/group-impl/src/main/java/org/cytoscape/group/internal/CyGroupImpl.java
2012-01-27 21:50:11 UTC (rev 28138)
+++
core3/impl/trunk/group-impl/src/main/java/org/cytoscape/group/internal/CyGroupImpl.java
2012-01-27 21:50:44 UTC (rev 28139)
@@ -379,35 +379,29 @@
if (!networkSet.contains(net))
return; // We're not in that network
- System.out.println("Collapsing -- firing");
cyEventHelper.fireEvent(new
GroupAboutToCollapseEvent(CyGroupImpl.this, net, true));
CySubNetwork subnet = (CySubNetwork) net;
// Collapse it.
// Remove all of the nodes from the target network
- System.out.println("Collapsing -- removing
"+getNodeList().size()+" nodes from "+subnet);
subnet.removeNodes(getNodeList());
- System.out.println("Collapsing -- adding group node");
subnet.addNode(groupNode);
// Add the group node and it's edges
List<CyEdge> groupNodeEdges =
rootNetwork.getAdjacentEdgeList(groupNode, CyEdge.Type.ANY);
- System.out.println("Collapsing -- adding
"+groupNodeEdges.size()+" edges");
for (CyEdge e: groupNodeEdges)
subnet.addEdge(e);
Set<CyNode> memberNodes = new HashSet<CyNode>(getNodeList());
- System.out.println("Collapsing -- adding
"+getMetaEdgeList().size()+" MetaEdges");
// Add the meta-edges
for (CyEdge e: getMetaEdgeList()) {
subnet.addEdge(e);
}
collapseSet.add(net);
- System.out.println("Collapsed -- firing");
cyEventHelper.fireEvent(new
GroupCollapsedEvent(CyGroupImpl.this, net, true));
// Update attributes?
// TODO: setGroupStateAttribute(net, true);
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.