Closed AlexanderPico closed 6 years ago
For now, let's keep the two import methods (make them work) and ditch get-species and search. And then add a bit of the new documentation.
This is returning NULL for command line tasks: https://github.com/wikipathways/cytoscape-wikipathways-app/blob/develop/src/main/java/org/wikipathways/cytoscapeapp/impl/WPClientRESTImpl.java#L259
And this is where the GUI leads when searching for WPIDS: https://github.com/wikipathways/cytoscape-wikipathways-app/blob/develop/src/main/java/org/wikipathways/cytoscapeapp/internal/guiclient/GUI.java#L402
Current error:
java.lang.IllegalArgumentException: No such pathway with ID: WP4 at org.wikipathways.cytoscapeapp.internal.cmd.WPImportCmdTask$1.run(WPImportCmdTask.java:49)
Ok. It's working now. Yay! Can we still do the following:
The cld syntax is wikipathways import-as-pathway id=WP4
reduced down to one command
A couple checklist items remain...
KH: I have a draft tutorial locally that I am adding today. It uses WP App and IDMapper to open pathway, map ids and import/visualize data. Don’t have a clearly defined set of pathway and dataset to use yet, working on it.
Draft of tutorial that combines WP App and IdMapper is here: https://cytoscape.github.io/cytoscape-tutorials/protocols/WP-DataViz-tutorial.html
Closed: (All) Then let's make sure we have all the commands we need for typical automation workflows. We only support one command in automation workflows: import-as-pathway
I see 4 commands for the WP app, but they don't seem to do anything...