Author: ruschein
Date: 2009-11-23 12:17:59 -0800 (Mon, 23 Nov 2009)
New Revision: 18543

Modified:
   cytoscape/trunk/src/cytoscape/data/readers/NNFParser.java
Log:
Removed immutable ID attribute from nested networks.

Modified: cytoscape/trunk/src/cytoscape/data/readers/NNFParser.java
===================================================================
--- cytoscape/trunk/src/cytoscape/data/readers/NNFParser.java   2009-11-23 
19:28:29 UTC (rev 18542)
+++ cytoscape/trunk/src/cytoscape/data/readers/NNFParser.java   2009-11-23 
20:17:59 UTC (rev 18543)
@@ -19,9 +19,6 @@
  * @author kono, ruschein
  */
 public class NNFParser {
-       
-       private static final String IMMUTABLE_ID = "immutable_id";
-       
        // For performance, these fields will be reused.
        private String[] parts;
        private int length;
@@ -74,10 +71,6 @@
                        networkMap.put(parts[0], network);
                        networks.add(network);
 
-                       // Create node attribute called IMMUTABLE_ID
-                       
Cytoscape.getNetworkAttributes().setAttribute(network.getIdentifier(), 
IMMUTABLE_ID, network.getIdentifier());
-                       
Cytoscape.getNetworkAttributes().setUserEditable(IMMUTABLE_ID, false);
-
                        // Attempt to nest network within the node with the 
same name
                        final CyNode parent = Cytoscape.getCyNode(parts[0]);
                        if (parent != null) {

--

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=.


Reply via email to