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

Cellular comparments are not saved/restored #65

Closed AlexanderPico closed 6 years ago

AlexanderPico commented 6 years ago

Open WP2884. Note nucleus compartment. Save. Close. Reopen. Nucleus gone :(

AlexanderPico commented 6 years ago

Confirmed. Still a bug.

AlexanderPico commented 6 years ago

More details:

  1. clone network will lose all annotations
  2. save/restore will lose CUSTOM annotations

Adam is also opening a redmine ticket...

AlexanderPico commented 6 years ago

This one is fixed in 3.7:

  1. save/restore will lose CUSTOM annotations

Cloning is still broken.

AdamStuart commented 6 years ago
ava.lang.ClassCastException: java.lang.String cannot be cast to org.cytoscape.view.presentation.property.values.Bend
    at org.cytoscape.view.presentation.property.EdgeBendVisualProperty.toSerializableString(EdgeBendVisualProperty.java:44) ~[70:org.cytoscape.api-bundle:3.7.0.SNAPSHOT]
    at org.cytoscape.io.internal.util.vizmap.VisualStyleSerializer.createVizmapProperties(VisualStyleSerializer.java:287) [88:org.cytoscape.io-impl:3.7.0.SNAPSHOT]
    at org.cytoscape.io.internal.util.vizmap.VisualStyleSerializer.createVizmap(VisualStyleSerializer.java:111) [88:org.cytoscape.io-impl:3.7.0.SNAPSHOT]
    at org.cytoscape.io.internal.write.vizmap.VizmapWriterImpl.run(VizmapWriterImpl.java:77) [88:org.cytoscape.io-impl:3.7.0.SNAPSHOT]