Permalink
Browse files

importing

  • Loading branch information...
jorgeboucas committed Sep 3, 2018
1 parent 7da4aa1 commit 0e2650a31dd22863ca8262cefddbc58972b510d0
Showing with 11 additions and 10 deletions.
  1. +2 −2 docs/cyrest/networks.md
  2. +7 −6 py2cytoscape/cyrest/apply.py
  3. +2 −2 py2cytoscape/cyrest/networks.py
View
@@ -31,7 +31,7 @@ ___
## ***cyclient.networks.updateTable***
**`cyclient.networks.updateTable(networkId, tableType, body, class, verbose=None)`**
**`cyclient.networks.updateTable(networkId, tableType, body, class_, verbose=None)`**
Updates the table specified by the `tableType` and `networkId` parameters. New columns will be created if they do not exist in the target table.
Current limitations:
@@ -41,7 +41,7 @@ Current limitations:
* **`networkId`** SUID containing the table
* **`tableType`** Type of table
* **`body`** The data with which to update the table.
* **`class`** None -- Not required, can be None
* **`class_`** None -- Not required, can be None
* **`verbose`** print more
* **`returns`** default: successful operation
@@ -1,14 +1,15 @@
from .base import *
class apply(object):
"""
cytoscape session interface as shown in CyREST's swagger documentation for 'layout'.
"""
cytoscape session interface as shown in CyREST's swagger documentation for 'layout'.
:param url: an url of the type 'http://' + host + ':' + str(port) + '/' + version + '/'.
"""
:param url: an url of the type 'http://' + host + ':' + str(port) + '/' + version + '/'.
"""
def __init__(self, url):
self.__url = url + 'commands/apply'
def __init__(self, url):
self.__url = url + 'commands/apply'
def applyLayout(algorithmName, networkId, column, verbose=None):
"""
@@ -314,7 +314,7 @@ def getNetwork(networkId, verbose=None):
return response
def updateTable(networkId, tableType, body, class, verbose=None):
def updateTable(networkId, tableType, body, class_, verbose=None):
"""
Updates the table specified by the `tableType` and `networkId` parameters. New columns will be created if they do not exist in the target table.
@@ -325,7 +325,7 @@ def updateTable(networkId, tableType, body, class, verbose=None):
:param networkId: SUID containing the table
:param tableType: Type of table
:param body: The data with which to update the table.
:param class: None -- Not required, can be None
:param class_: None -- Not required, can be None
:param verbose: print more
:returns: default: successful operation

0 comments on commit 0e2650a

Please sign in to comment.