py4cytoscape.py4cytoscape_utils.verify_supported_versions¶
- verify_supported_versions(cyrest=1, cytoscape=3.6, base_url='http://127.0.0.1:1234/v1')[source]¶
Checks to see if min supported versions of api and cytoscape are running.
Extracts numerics from api and major cytoscape versions before making comparison.
- Parameters
cyrest (int) – minimum CyREST version
cytoscape (float) – minimum Cytoscape version
base_url (str) – Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://127.0.0.1:1234 and the latest version of the CyREST API supported by this version of py4cytoscape.
- Returns
None
- Raises
none –
Examples
>>> verify_supported_versions(1, 3.7)