cytoscape / py2cytoscape

Python utilities for Cytoscape and Cytoscape.js
https://py2cytoscape.readthedocs.io
MIT License
178 stars 45 forks source link

Functions code cannot connect to Cytoscape not on default port #67

Closed mwang87 closed 6 years ago

mwang87 commented 6 years ago

I've found if I start up my Cytoscape instance not on port 1234, the code present in this branch can connect to it, but any other commands do not work.

https://github.com/cytoscape/py2cytoscape/tree/develop/py2cytoscape/data

Specifically this command doesn't work:

cy.style.apply(style=mystyle, network=network1)

It seems that the styles apply is hardcoded with the port.

jorgeboucas commented 6 years ago

for this I would recommend moving on to https://github.com/cytoscape/py2cytoscape/tree/develop/py2cytoscape/cyrest - docs on https://py2cytoscape.readthedocs.io/en/latest/

jorgeboucas commented 6 years ago

deprecated