Author: kono
Date: 2009-08-05 14:36:23 -0700 (Wed, 05 Aug 2009)
New Revision: 17696

Modified:
   csplugins/trunk/ucsd/kono/IntActClient/intactClient.jar
   csplugins/trunk/ucsd/kono/IntActClient/manifest/plugin.props
   
csplugins/trunk/ucsd/kono/IntActClient/src/edu/ucsd/bioeng/idekerlab/intactclient/IntactClient.java
Log:
Minor update.  Empty entry for species will be ignored.

Modified: csplugins/trunk/ucsd/kono/IntActClient/intactClient.jar
===================================================================
(Binary files differ)

Modified: csplugins/trunk/ucsd/kono/IntActClient/manifest/plugin.props
===================================================================
--- csplugins/trunk/ucsd/kono/IntActClient/manifest/plugin.props        
2009-08-05 18:57:03 UTC (rev 17695)
+++ csplugins/trunk/ucsd/kono/IntActClient/manifest/plugin.props        
2009-08-05 21:36:23 UTC (rev 17696)
@@ -8,11 +8,11 @@
 
 # Description used to give users information about the plugin such as what it 
does.  
 # Html tags are encouraged for formatting purposes.
-pluginDescription=<html><body>Web Service Client for IntAct Database.  
<p>Users can import network data from IntAct interaction database.  This is a 
web service client and accessible from other plugins through 
WebServiceClientManager.</p>
+pluginDescription=<html><body>Web Service Client for IntAct Database.  
<p>Users can import network data from IntAct interaction database.  This is a 
web service client and accessible from other plugins through 
WebServiceClientManager.  This is minor update (bug fix only).</p>
 </body></html>
 
 # Plugin version number, this must be two numbers separated by a decimlal.  
Ex. 0.2, 14.03
-pluginVersion=0.60
+pluginVersion=0.61
 
 # Compatible Cytoscape version
 cytoscapeVersion=2.6

Modified: 
csplugins/trunk/ucsd/kono/IntActClient/src/edu/ucsd/bioeng/idekerlab/intactclient/IntactClient.java
===================================================================
--- 
csplugins/trunk/ucsd/kono/IntActClient/src/edu/ucsd/bioeng/idekerlab/intactclient/IntactClient.java
 2009-08-05 18:57:03 UTC (rev 17695)
+++ 
csplugins/trunk/ucsd/kono/IntActClient/src/edu/ucsd/bioeng/idekerlab/intactclient/IntactClient.java
 2009-08-05 21:36:23 UTC (rev 17696)
@@ -337,7 +337,6 @@
                        nodeAttr.setAttribute(aID, "official symbol", 
aliasA.get(0));
                
                if (a.getAliases().size() != 0) {
-                       
 
                        for (Alias ref : a.getAliases()) {
                                aliasA.add(ref.getName());
@@ -347,8 +346,9 @@
                nodeAttr.setListAttribute(aID, "aliases", aliasA);
 
                if (a.hasOrganism() && (a.getOrganism().getIdentifiers().size() 
!= 0)) {
-                       nodeAttr.setAttribute(aID, "species",
-                                             
a.getOrganism().getIdentifiers().iterator().next().getText());
+                       final String value = 
a.getOrganism().getIdentifiers().iterator().next().getText();
+                       if(value != null)
+                               nodeAttr.setAttribute(aID, "species", value);
                }
 
                return aID;


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