wikipathways / cytoscape-wikipathways-app

WikiPathways app for Cytoscape to open and access pathways from WikiPathways
Apache License 2.0
5 stars 7 forks source link

Pathway fails to load #49

Closed AlexanderPico closed 6 years ago

AlexanderPico commented 6 years ago

WP1591 has many shapes. Even it we can't reproduce the image completely, we do need to be able to open to the pathway. See error thrown...

screen shot 2017-09-12 at 12 13 04 pm

AlexanderPico commented 6 years ago

And WP2848 also fails to load. It's another pathway with a ton of shapes, but a different error... screen shot 2017-09-12 at 12 20 27 pm

AdamStuart commented 6 years ago

java.lang.IllegalStateException: Invalid angle: NaN. Cuased by cos(theta) = NaN at org.cytoscape.ding.impl.HandleImpl.convertToRatio(HandleImpl.java:175) at org.cytoscape.ding.impl.HandleImpl.defineHandle(HandleImpl.java:107) at org.cytoscape.ding.impl.HandleImpl.(HandleImpl.java:54) at org.cytoscape.ding.impl.HandleFactoryImpl.createHandle(HandleFactoryImpl.java:36) at org.wikipathways.cytoscapeapp.DelayedVizProp.applyEdgeBend(DelayedVizProp.java:376)

AdamStuart commented 6 years ago

java.lang.IllegalArgumentException: width is too small at org.cytoscape.ding.impl.DNodeView.setWidth(DNodeView.java:354) at org.cytoscape.ding.impl.DNodeView.applyVisualProperty(DNodeView.java:1021) at org.cytoscape.ding.impl.AbstractDViewModel.setLockedValue(AbstractDViewModel.java:150) at org.wikipathways.cytoscapeapp.DelayedVizProp.applyAll(DelayedVizProp.java:100) at org.wikipathways.cytoscapeapp.GpmlReaderFactoryImpl$ApplyVizProps.run(GpmlReaderFactoryImpl.java:207)