Skip to main content

VICC normalization routine for evidence

Project description

Evidence Normalization

Service for normalizing evidence

Developer instructions

The following sections include instructions specifically for developers.

Installation

Pipenv

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

Pip

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

Backend Services

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.

Starting the Evidence Normalization Service Locally

To start the service, run the following:

uvicorn evidence.main:app --reload

Next, view the OpenAPI docs on your local machine: http://127.0.0.1:8000/evidence

Init coding style tests

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

Running unit tests is as easy as pytest.

pipenv run pytest

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

evidence-normalizer-0.0.3a1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

evidence_normalizer-0.0.3a1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file evidence-normalizer-0.0.3a1.tar.gz.

File metadata

  • Download URL: evidence-normalizer-0.0.3a1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for evidence-normalizer-0.0.3a1.tar.gz
Algorithm Hash digest
SHA256 c43a3b01d1c63859046cbe546c7dcf9b1582ea74ea638a567bd2013627a5c1f6
MD5 160fadc874b2b50631d1d7b8ecce2e1f
BLAKE2b-256 1159be2b783b22e082b3333b0678a1bc3266100b5ec73347f821e82a22c9c4f5

See more details on using hashes here.

File details

Details for the file evidence_normalizer-0.0.3a1-py3-none-any.whl.

File metadata

  • Download URL: evidence_normalizer-0.0.3a1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for evidence_normalizer-0.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4672294f204b3b9706380de23067741fd430d723b13ef5196b9c44fdd4cfbea8
MD5 6d3c9d79224b6e68c5e1bb352e5f20ec
BLAKE2b-256 c969b9b9d6e584e2809742665b1a60d4ec2565f15033076638757e05b889377b

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