cytoscape / RCy3

New version of RCy3, redesigned and collaboratively maintained by Cytoscape developer community
MIT License
48 stars 20 forks source link

createFilter not work in cloud #144

Open yihangx opened 2 years ago

yihangx commented 2 years ago

createColumnFilter, createCompositeFilter, createDegreeFilter do not have any cloud notebook related code.

.postCreateFilter need to be change to make it work in the cloud.

AlexanderPico commented 2 years ago

@yihangx I see a lot of commits for this one. It is still open? Any ideas on how to solve it?

yihangx commented 2 years ago

Remote json body and local json body are different. This parse json trick in the .postCreateFilter function: https://github.com/cytoscape/RCy3/blob/e6570d312dbab373092c37b22f3c740aeeb5ee47/R/Filters.R#L335-L337 did not work for the remote json body and broke the json. I cannot find a way to solve this right now.