Viewer for Mount Sinai IIDSGT Precision Oncology reports.
Project description
biocwl-dash
A Dash frontend for viewing the outputs of the biocwl precision oncology pipeline. Reports are interactive, and printable.
Usage
This dash app is meant to be embedded in a flask app. See test/test_main.py
for an example implementation. The import method to use is biocwl_dash.app.init_app(server, prefix, report_service_factory)
, where:
- server is a flask app
- prefix is the URL prefix to prepend to all routes
- report_service_factory is an implementation of
biocwl_dash.report_service.ReportService
Contributing
Setup your venv with:
python3 -m venv venv
source venv/bin/activate
pip install -e .
pip install setuptools wheel
And rerun the final install whenever you add dependencies to setup.py.
Then, for development, run with:
PYTHONPATH=$PWD:$PYTHONPATH python test/test_main.py
Deployment / Pushing
Update your package with
python3 setup.py sdist bdist_wheel
twine upload dist/*
rm -rf dist
npm publish
To make sure your dependencies are in order and that your package installs well, try doing a Docker build with:
docker build -t biocwldash . && docker run -p 5000:5000 biocwldash
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
Built Distribution
Hashes for biocwl_dash-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8566bd660d89491417c3557e21dc5d2da501b2e6878558150711a926e363e8c8 |
|
MD5 | c3b86515b7322a765d59d04d71fd2841 |
|
BLAKE2b-256 | 83bd0c7c04b1bcf4e7ade3996fffbbb840e33961069d45167c5de7608496e365 |