Author: scooter
Date: 2009-03-11 19:57:03 -0700 (Wed, 11 Mar 2009)
New Revision: 16206

Modified:
   csplugins/trunk/ucsf/scooter/clusterMaker/resources/plugin.props
   
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/treeview/dendroview/GraphicsExportPanel.java
Log:
Fixed graphics export for KnnView


Modified: csplugins/trunk/ucsf/scooter/clusterMaker/resources/plugin.props
===================================================================
--- csplugins/trunk/ucsf/scooter/clusterMaker/resources/plugin.props    
2009-03-12 00:28:08 UTC (rev 16205)
+++ csplugins/trunk/ucsf/scooter/clusterMaker/resources/plugin.props    
2009-03-12 02:57:03 UTC (rev 16206)
@@ -16,7 +16,7 @@
 pluginVersion=1.6
 
 # Compatible Cytoscape version
-cytoscapeVersion=2.6.2
+cytoscapeVersion=2.6.1,2.6.2
 
 # Category, use one of the categories listed on the website or create your own
 pluginCategory=Analysis
@@ -28,7 +28,7 @@
 
 # List of authors.  Note each author and institution pair are separated by a : 
(colon)
 # each additional author institution pair must be separated from other pairs 
bye a ; (semicolon)
-pluginAuthorsIntsitutions=Jan Baumbach:Technical University of 
Bielefeld;Tobian Wittkop:Technical University of Bielefeld;Leonard 
Apeltsin:UCSF;John "Scooter" Morris:UCSF
+pluginAuthorsIntsitutions=John "Scooter" Morris:UCSF:Leonard Apeltsin:UCSF;Jan 
Baumbach:Technical University of Bielefeld;Tobian Wittkop:Technical University 
of Bielefeld
 
 # Date this plugin/plugin version was released
-releaseDate=January 7, 2009
+releaseDate=February 25, 2009

Modified: 
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/treeview/dendroview/GraphicsExportPanel.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/treeview/dendroview/GraphicsExportPanel.java
     2009-03-12 00:28:08 UTC (rev 16205)
+++ 
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/treeview/dendroview/GraphicsExportPanel.java
     2009-03-12 02:57:03 UTC (rev 16206)
@@ -1359,6 +1359,11 @@
                        boolean drawSelected = inclusionPanel.drawSelected();
                        for (int i = minGene(); i < maxGene(); i++) {
                                //              if (drawSelected && 
(geneSelection.isIndexSelected(i) == false)) continue;
+
+                               // getGeneAnno returns null in the breaks 
between k-means clusters
+                               if (getGeneAnno(i) == null)
+                                       continue;
+
                                int length = 
fontMetrics.stringWidth(getGeneAnno(i));
                                if (length > max) {
                                        max = length;


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