Skip to main content

A collection of models for simulating cells with Vivarium.

Project description

vivarium-cell

WARNING: This library has been deprecated. Please see https://vivarium-collective.github.io for alternatives.

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

vivarium

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 vivarium_cell/processes/convenience_kinetics.py

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

$ python vivarium_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 vivarium_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.1.5.tar.gz (10.5 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: vivarium-cell-0.1.5.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for vivarium-cell-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0233d0d62f4e552269c9dc7638d8a2711d8136463e9ab392b2ef50593dd2ec0c
MD5 b271f1e2b82f93b2aa24806f101089c2
BLAKE2b-256 99dbc57a891b2f9dc48b6cf3a2374839aa40cf25358c6d13a8dc3393fd9c394a

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