PMBio / deeprvat

Other
31 stars 2 forks source link

Feature add preprocessing unit tests #15

Closed endast closed 1 year ago

endast commented 1 year ago

What

This PR adds unit tests for the preprocssing pipeline, most of the test use input files and a "expected" output file that the results get compared to. It also adds a github action that runs the unit tests.

image

image

Testing

Check out the code, activate the env and run pytest.

mamba env create --file deeprvat_preprocessing_env.yml
mamba activate deeprvat_preprocess
pip install -e .
pytest -v

The tests should pass :)

image