Author: ruschein
Date: 2010-06-28 14:15:35 -0700 (Mon, 28 Jun 2010)
New Revision: 20695

Modified:
   cytoscape/trunk/src/cytoscape/data/readers/XGMMLParser.java
Log:
Added support for adding equations that are lists.

Modified: cytoscape/trunk/src/cytoscape/data/readers/XGMMLParser.java
===================================================================
--- cytoscape/trunk/src/cytoscape/data/readers/XGMMLParser.java 2010-06-28 
21:10:56 UTC (rev 20694)
+++ cytoscape/trunk/src/cytoscape/data/readers/XGMMLParser.java 2010-06-28 
21:15:35 UTC (rev 20695)
@@ -1458,8 +1458,12 @@
                // must make sure to clear out any existing values before we 
parse.
                case LIST:
                        currentAttributeID = name;
-                       if (id != null && cyAtts.hasAttribute(id, name))
-                               cyAtts.deleteAttribute(id,name);
+                       if (id != null && cyAtts.hasAttribute(id, name)) {
+                               if (equation)
+                                       eqnAttrTracker.recordEquation(cyAtts, 
id, name, (String)obj, List.class);
+                               else
+                                       cyAtts.deleteAttribute(id,name);
+                       }
 
                        listAttrHolder = new ArrayList();
 

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

Reply via email to