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

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

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.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

evidence_normalizer-0.0.1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file evidence-normalizer-0.0.1.tar.gz.

File metadata

  • Download URL: evidence-normalizer-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.9

File hashes

Hashes for evidence-normalizer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 448b630c670c4fcaed303f94fa9f640c7d541482dc9d360f46e23e2ec163d11b
MD5 f83125329513f71cd53a6696bbff0709
BLAKE2b-256 f01239d58cc93d94993e46142f00039c1cf3874a0bb920210c263fa6e8e34aa4

See more details on using hashes here.

File details

Details for the file evidence_normalizer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: evidence_normalizer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.9

File hashes

Hashes for evidence_normalizer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d7c6de31f0b3eaae87be9f129d495ed14b26f96715ce2f348da45558e9bf298
MD5 0eae869fcf9084ab041d79f11409d428
BLAKE2b-256 de4563bbaf1fad48d858bbe6b50d95adb28d26d189745378cad0d6cf0213b37a

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