Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

>>> cbc.get_config()
{'host': 'bioinfo.hpc.cam.ac.uk:80/cellbase',
 'version': 'v4',
 'species': 'hsapiens'}

```

A custom configuration can be passed to CellBaseClient with a ConfigClient object. JSON and YML files are supported:
>>> from pycellbase.cbconfig import ConfigClient
>>> from pycellbase.cbclient import CellBaseClient
>>> cc = ConfigClient('config.json')
>>> cbc = CellBaseClient(cc)

A custom configuration can also be passed as a dictionary:

...