Skip to content

Commit

Permalink
Test suite execution bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Standage committed Nov 21, 2022
1 parent d7584b4 commit 5c62f43
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.8.2] 2022-11-21

### Fixed
- Test suite execution bug.

## [0.8.1] 2022-11-21

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ help: Makefile

## test: execute the automated test suite
test:
pytest --cov=microhapdb --cov-report=term --cov-report=xml --doctest-modules microhapdb/cli/*.py microhapdb/marker.py microhapdb/population.py microhapdb/tests/test_*.py
pytest --cov=microhapdb --cov-report=term --cov-report=xml --doctest-modules --pyargs microhapdb

## devdeps: install development dependencies
devdeps:
Expand Down
6 changes: 3 additions & 3 deletions microhapdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ def retrieve_by_id(ident):
>>> retrieve_by_id("mh17KK-014")
Name PermID Reference Chrom Offsets Ae In Fst Source
510 mh17KK-014 MHDBM-83a239de GRCh38 chr17 4497060,4497088,4497096 2.0215 0.6423 0.3014 ALFRED
529 mh17KK-014 MHDBM-83a239de GRCh38 chr17 4497060,4497088,4497096 2.0215 0.6423 0.3014 ALFRED
>>> retrieve_by_id("SI664726F")
Name PermID Reference Chrom Offsets Ae In Fst Source
510 mh17KK-014 MHDBM-83a239de GRCh38 chr17 4497060,4497088,4497096 2.0215 0.6423 0.3014 ALFRED
529 mh17KK-014 MHDBM-83a239de GRCh38 chr17 4497060,4497088,4497096 2.0215 0.6423 0.3014 ALFRED
>>> retrieve_by_id("MHDBM-ea520d26")
Name PermID Reference Chrom Offsets Ae In Fst Source
539 mh18KK-285 MHDBM-ea520d26 GRCh38 chr18 24557354,24557431,24557447,24557489 2.7524 0.1721 0.0836 ALFRED
559 mh18KK-285 MHDBM-ea520d26 GRCh38 chr18 24557354,24557431,24557447,24557489 2.7524 0.1721 0.0836 ALFRED
>>> retrieve_by_id("PJL")
ID Name Source
82 PJL Punjabi from Lahore, Pakistan 1KGP
Expand Down

0 comments on commit 5c62f43

Please sign in to comment.