Skip to content

Commit 7a1722a

Browse files
v0.5.0 -> v0.5.1 (bugfix)
1 parent 47a9e96 commit 7a1722a

6 files changed

Lines changed: 86 additions & 57 deletions

File tree

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cff-version: 1.2.0
22
message: "If you use this software, please cite it as below.
33
Lhotte, R., Clichet, V., Usureau, C. & Taupin, J. (2022). Python Eplet Load Calculator (PELC) package
4-
(Version 0.5.0) [Computer software]. https://doi.org/10.5281/zenodo.7254809"
4+
(Version 0.5.1) [Computer software]. https://doi.org/10.5281/zenodo.7254809"
55
authors:
66
- family-names: Lhotte
77
given-names: Romain
@@ -16,7 +16,7 @@ authors:
1616
given-names: Jean-Luc
1717
orcid: https://orcid.org/0000-0002-5766-046X
1818
title: Python Eplet Load Calculator (PELC) package
19-
version: 0.5.0
19+
version: 0.5.1
2020
doi: doi.org/10.5281/zenodo.7254809
2121
link: https://github.com/MICS-Lab/pecc
2222
date-released: 2022-10-26

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ If you use this software, please cite it as below.
172172
If you use this software, please cite it as below.
173173
174174
Lhotte, R., Clichet, V., Usureau, C. & Taupin, J. (2022).
175-
Python Eplet Load Calculator (PELC) package (Version 0.5.0) [Computer software].
175+
Python Eplet Load Calculator (PELC) package (Version 0.5.1) [Computer software].
176176
https://doi.org/10.5281/zenodo.7254809
177177
```
178178

@@ -187,7 +187,7 @@ https://doi.org/10.5281/zenodo.7254809
187187
month = oct,
188188
year = 2022,
189189
publisher = {Zenodo},
190-
version = {0.5.0},
190+
version = {0.5.1},
191191
doi = {10.5281/zenodo.7526198},
192192
}
193193
```

pelc/_input_sanity_check.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def _equal_amount_of_unknown_alleles(
3939
locus_recipient_1: str = f"{locus}1_R"
4040
locus_recipient_2: str = f"{locus}2_R"
4141

42-
if allele in [row_d[locus_donor_1], row_d[locus_donor_2]]:
42+
if allele in [row_r[locus_recipient_1], row_d[locus_donor_1]]:
43+
# If the (first, otherwise it can be an homozygote) allele is unknown, then the other one must be
44+
# unknown too and the same for the other individual
4345
if not (
4446
allele
4547
==

poetry.lock

Lines changed: 76 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pelc"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
description = "Python Eplet Load Calculator"
55
authors = ["JasonMendoza2008 <lhotteromain@gmail.com>"]
66
readme = "README.md"
@@ -12,6 +12,7 @@ packages = [
1212
python = "^3.10"
1313
pandas = "^1.5.1"
1414
openpyxl = "^3.0.10"
15+
pandas-stubs = "^2.0.0.230412"
1516

1617
[tool.poetry.dev-dependencies]
1718
pytest = "^7.2.0"

tests/test_pelc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def test_version():
5-
assert __version__ == '0.5.0'
5+
assert __version__ == '0.5.1'

0 commit comments

Comments
 (0)