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.3a4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

evidence_normalizer-0.0.3a4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: evidence-normalizer-0.0.3a4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for evidence-normalizer-0.0.3a4.tar.gz
Algorithm Hash digest
SHA256 1066e1901921d0c9f7820a7066a9a7a3349d12dd8a58c42134dba561f3229e57
MD5 a1ecfa9428791e27bb9fdd78ecae82b2
BLAKE2b-256 07a7e98946e0210c3b11d6f32164515e60ad497ed2acd556be5918c1a7d73c8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for evidence_normalizer-0.0.3a4-py3-none-any.whl
Algorithm Hash digest
SHA256 b259debb1fe9bdf462e64abe1ff8d149a3f9de53e0e1118fe26264dc3a5eead4
MD5 6b31a75a1b4ae4d1691e02391829cbdd
BLAKE2b-256 1f7d2dac600493b0d4d2d0305cf5641fc128a58b6e1b60fe34280c3753f20613

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