Author: clopes
Date: 2011-09-19 14:23:41 -0700 (Mon, 19 Sep 2011)
New Revision: 26866
Modified:
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/model/data/VisualStyleVO.as
Log:
Fixed test error introduced with last commit.
Modified:
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/model/data/VisualStyleVO.as
===================================================================
---
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/model/data/VisualStyleVO.as
2011-09-19 21:16:55 UTC (rev 26865)
+++
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/model/data/VisualStyleVO.as
2011-09-19 21:23:41 UTC (rev 26866)
@@ -32,7 +32,6 @@
import org.cytoscapeweb.util.LineStyles;
import org.cytoscapeweb.util.NodeShapes;
import org.cytoscapeweb.util.Utils;
- import org.cytoscapeweb.util.VisualProperties;
public class VisualStyleVO {
@@ -189,8 +188,11 @@
if (data != null && mapper != null) {
value = mapper.getValue(data);
- if (isNaN(value)) value = null;
+
+ if (mapper is ContinuousVizMapperVO && isNaN(value))
+ value = null;
}
+
if (value == null)
value = vp.defaultValue;
}
--
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.