Service for normalizing evidence
The following sections include instructions specifically for developers.
For a development install, we recommend using Pipenv. See the pipenv docs for direction on installing pipenv in your compute environment.
Once installed, from the project root dir, just run:
pipenv shell
pipenv lock && pipenv sync
If you wish to install developer dependencies for evidence.dev
:
pip install evidence-normalizer[dev]
If you do not need the extra dependencies:
pip install evidence-normalizer
Evidence Normalization relies on Variation Normalization for normalizing Cancer Hotspots data. You will need to setup backend services and set the appropriate environment variables. See the README for more information.
Code style is managed by flake8 and checked prior to commit.
We use pre-commit to run conformance tests.
This ensures:
- Check code style
- Check for added large files
- Detect AWS Credentials
- Detect Private Key
Before first commit run:
pre-commit install
Running unit tests is as easy as pytest.
pipenv run pytest