Skip to main content

A collection of models for simulating cells with Vivarium.

Project description

vivarium-cell

vivarium-cell is a library of configurable cell process and composites for vivarium projects.

Installation

vivarium-cell can be used as a python library. To install:

$ pip install vivarium-cell

Setup in local repository

Clone the repository, make a python environment, and install dependencies.

First install numpy:

$ pip install numpy

Then the remaining requirements:

$ pip install -r requirements.txt

Run individual processes and composites

Each process file under cell/processes can run on its own. Some of these have their own command line options. For example, call the convenience_kinetics process with:

$ python cell/processes/convenience_kinetics.py

Composites with multiple integrated processes can also be executed on their own:

$ python cell/composites/gene_expression.py

Experiments

TODO

Tests

Tests are performed with pytest. Simply call the following to ensure everything is working properly:

$ pytest

To run only the fast tests:

$ pytest -m 'not slow'

Logging

Logging is done with python logging. To print out logging information, run a simulation with:

$ LOGLEVEL=INFO python cell/..

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vivarium-cell-0.0.19.tar.gz (10.5 MB view details)

Uploaded Source

File details

Details for the file vivarium-cell-0.0.19.tar.gz.

File metadata

  • Download URL: vivarium-cell-0.0.19.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

File hashes

Hashes for vivarium-cell-0.0.19.tar.gz
Algorithm Hash digest
SHA256 2c4a26abef2a50d6514df776fea950260e46e33cc0363d75c4a0d5652e8d1eee
MD5 30cd46e5ecc6a718bb7999cd713ee82d
BLAKE2b-256 be24a3f912dff008ee99fdcbfe798e122582bbdb958254c56ee6a367813fe9c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page