Skip to content

Commit

Permalink
v0.5.0 -> v0.5.1 (bugfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMendoza2008 committed Apr 20, 2023
1 parent 47a9e96 commit 7a1722a
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 57 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below.
Lhotte, R., Clichet, V., Usureau, C. & Taupin, J. (2022). Python Eplet Load Calculator (PELC) package
(Version 0.5.0) [Computer software]. https://doi.org/10.5281/zenodo.7254809"
(Version 0.5.1) [Computer software]. https://doi.org/10.5281/zenodo.7254809"
authors:
- family-names: Lhotte
given-names: Romain
Expand All @@ -16,7 +16,7 @@ authors:
given-names: Jean-Luc
orcid: https://orcid.org/0000-0002-5766-046X
title: Python Eplet Load Calculator (PELC) package
version: 0.5.0
version: 0.5.1
doi: doi.org/10.5281/zenodo.7254809
link: https://github.com/MICS-Lab/pecc
date-released: 2022-10-26
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ If you use this software, please cite it as below.
If you use this software, please cite it as below.
Lhotte, R., Clichet, V., Usureau, C. & Taupin, J. (2022).
Python Eplet Load Calculator (PELC) package (Version 0.5.0) [Computer software].
Python Eplet Load Calculator (PELC) package (Version 0.5.1) [Computer software].
https://doi.org/10.5281/zenodo.7254809
```

Expand All @@ -187,7 +187,7 @@ https://doi.org/10.5281/zenodo.7254809
month = oct,
year = 2022,
publisher = {Zenodo},
version = {0.5.0},
version = {0.5.1},
doi = {10.5281/zenodo.7526198},
}
```
4 changes: 3 additions & 1 deletion pelc/_input_sanity_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def _equal_amount_of_unknown_alleles(
locus_recipient_1: str = f"{locus}1_R"
locus_recipient_2: str = f"{locus}2_R"

if allele in [row_d[locus_donor_1], row_d[locus_donor_2]]:
if allele in [row_r[locus_recipient_1], row_d[locus_donor_1]]:
# If the (first, otherwise it can be an homozygote) allele is unknown, then the other one must be
# unknown too and the same for the other individual
if not (
allele
==
Expand Down
126 changes: 76 additions & 50 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pelc"
version = "0.5.0"
version = "0.5.1"
description = "Python Eplet Load Calculator"
authors = ["JasonMendoza2008 <[email protected]>"]
readme = "README.md"
Expand All @@ -12,6 +12,7 @@ packages = [
python = "^3.10"
pandas = "^1.5.1"
openpyxl = "^3.0.10"
pandas-stubs = "^2.0.0.230412"

[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pelc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == '0.5.0'
assert __version__ == '0.5.1'

0 comments on commit 7a1722a

Please sign in to comment.