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

Style is corrupted in 3.3.8 #121

Closed AlexanderPico closed 2 years ago

AlexanderPico commented 2 years ago

The 3.3.8 version of the app makes a "WikiPathways" style with mapping info that cannot be serialized by Cytoscape. This issue leads to errors with basic style mapping functions in RCy3, e.g., setNodeColorMapping().

Steps to reproduce:

  1. Import a WikiPathways using the app, e.g., WP179
  2. Open CyREST Swagger and go to styles/{name}/mappings
  3. Enter 'WikiPathways' and GO

This error is returned:

{
  "data": {},
  "errors": [
    {
      "status": 500,
      "type": "urn:cytoscape:ci:cyrest-core:v1:styles:errors:5",
      "message": "Could not serialize Mappings.",
      "link": "file:/Users/alexpico/CytoscapeConfiguration/3/framework-cytoscape.log"
    }
  ]
}
AlexanderPico commented 2 years ago

This is fixed in the new 3.3.9 release