Author: scooter
Date: 2011-06-14 12:20:57 -0700 (Tue, 14 Jun 2011)
New Revision: 25752

Modified:
   
cytoscape/trunk/coreplugins/TableImport/src/test/java/edu/ucsd/bioeng/coreplugin/tableImport/tests/DefaultAttributeTableReaderTest.java
Log:
Make sure to clean up before we run our test


Modified: 
cytoscape/trunk/coreplugins/TableImport/src/test/java/edu/ucsd/bioeng/coreplugin/tableImport/tests/DefaultAttributeTableReaderTest.java
===================================================================
--- 
cytoscape/trunk/coreplugins/TableImport/src/test/java/edu/ucsd/bioeng/coreplugin/tableImport/tests/DefaultAttributeTableReaderTest.java
     2011-06-14 18:51:59 UTC (rev 25751)
+++ 
cytoscape/trunk/coreplugins/TableImport/src/test/java/edu/ucsd/bioeng/coreplugin/tableImport/tests/DefaultAttributeTableReaderTest.java
     2011-06-14 19:20:57 UTC (rev 25752)
@@ -112,6 +112,10 @@
                        System.out.println("GAL Data Type " + i + " = " + 
galAttrTypes[i]);
                }
 
+               // We need to delete the "String List" attribute because this 
one concatenates
+               // and if we've executed a previous test, we may have some junk 
lying around
+               Cytoscape.getNodeAttributes().deleteAttribute("String List");
+
                AttributeMappingParameters mapping = new 
AttributeMappingParameters(TextTableReader.ObjectType.NODE,
                                                                                
    null, COMMA.toString(),
                                                                                
    0, "ID", aliasList,

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