Skip to content

Commit 6f293f5

Browse files
Updated package versions, and adapted tests for new pandas version, updated README.md
1 parent ba6486e commit 6f293f5

File tree

4 files changed

+50
-48
lines changed

4 files changed

+50
-48
lines changed

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.1) [Computer software]. https://doi.org/10.5281/zenodo.7254809"
4+
(Version 0.5.2) [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.1
19+
version: 0.5.2
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: 46 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -89,65 +89,67 @@ expression '^.[pqr]*(\d+)' (interlocus2) either.
8989

9090

9191
#### Unit tests
92-
Tested on `Python 3.10.2` & `Python 3.11.1`.
92+
Tested on `Python 3.10.6` & `Python 3.11.1`.
9393
```
94-
platform win32 -- Python 3.10.2, pytest-7.2.0, pluggy-1.0.0
95-
plugins: anyio-3.6.2, mypy-0.10.3
96-
collected 37 items
94+
platform win32 -- Python 3.10.6, pytest-7.4.0, pluggy-1.2.0
95+
plugins: mypy-0.10.3
96+
collected 39 items
9797
9898
unit_tests_mypy.py .. [ 5%]
99-
unit_tests_simple.py . [ 8%]
99+
unit_tests_simple.py . [ 7%]
100100
pelc\__init__.py . [ 10%]
101-
pelc\_input_sanity_check.py . [ 13%]
102-
pelc\_open_epregistry_databases.py . [ 16%]
103-
pelc\_unexpected_alleles.py . [ 18%]
104-
pelc\batch_eplet_comp.py . [ 21%]
105-
pelc\batch_eplet_comp_aux.py . [ 24%]
106-
pelc\output_type.py . [ 27%]
107-
pelc\simple_comparison.py . [ 29%]
108-
tests\__init__.py . [ 32%]
109-
tests\base_loading_for_tests.py . [ 35%]
110-
tests\test_eplet_mismatches.py ......... [ 59%]
111-
tests\test_extract_key_to_rank_epletes.py .. [ 64%]
112-
tests\test_is_valid_allele.py .. [ 70%]
113-
tests\test_pelc.py .. [ 75%]
114-
tests\test_same_locus.py .. [ 81%]
101+
pelc\_input_sanity_check.py . [ 12%]
102+
pelc\_open_epregistry_databases.py . [ 15%]
103+
pelc\_unexpected_alleles.py . [ 17%]
104+
pelc\batch_eplet_comp.py . [ 20%]
105+
pelc\batch_eplet_comp_aux.py . [ 23%]
106+
pelc\output_type.py . [ 25%]
107+
pelc\simple_comparison.py . [ 28%]
108+
tests\__init__.py . [ 30%]
109+
tests\base_loading_for_tests.py . [ 33%]
110+
tests\test_eplet_mismatches.py ......... [ 56%]
111+
tests\test_extract_key_to_rank_epletes.py .. [ 61%]
112+
tests\test_is_valid_allele.py .. [ 66%]
113+
tests\test_only_one_chromosome.py .. [ 71%]
114+
tests\test_pelc.py .. [ 76%]
115+
tests\test_same_locus.py .. [ 82%]
115116
tests\test_simple_comparison.py ..... [ 94%]
116117
tests\test_unexpected_alleles.py .. [100%]
117-
=================================== mypy =====================================
118+
==================================== mypy =====================================
118119
119-
Success: no issues found in 19 source files
120-
============================= 37 passed in 16.23s ============================
120+
Success: no issues found in 20 source files
121+
============================= 39 passed in 34.42s =============================
121122
```
122123

123124
```
124-
platform win32 -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0
125+
platform win32 -- Python 3.11.1, pytest-7.2.2, pluggy-1.0.0
125126
plugins: anyio-3.6.2, mypy-0.10.3
126-
collected 37 items
127+
collected 39 items
127128
128129
unit_tests_mypy.py .. [ 5%]
129-
unit_tests_simple.py . [ 8%]
130+
unit_tests_simple.py . [ 7%]
130131
pelc\__init__.py . [ 10%]
131-
pelc\_input_sanity_check.py . [ 13%]
132-
pelc\_open_epregistry_databases.py . [ 16%]
133-
pelc\_unexpected_alleles.py . [ 18%]
134-
pelc\batch_eplet_comp.py . [ 21%]
135-
pelc\batch_eplet_comp_aux.py . [ 24%]
136-
pelc\output_type.py . [ 27%]
137-
pelc\simple_comparison.py . [ 29%]
138-
tests\__init__.py . [ 32%]
139-
tests\base_loading_for_tests.py . [ 35%]
140-
tests\test_eplet_mismatches.py ......... [ 59%]
141-
tests\test_extract_key_to_rank_epletes.py .. [ 64%]
142-
tests\test_is_valid_allele.py .. [ 70%]
143-
tests\test_pelc.py .. [ 75%]
144-
tests\test_same_locus.py .. [ 81%]
132+
pelc\_input_sanity_check.py . [ 12%]
133+
pelc\_open_epregistry_databases.py . [ 15%]
134+
pelc\_unexpected_alleles.py . [ 17%]
135+
pelc\batch_eplet_comp.py . [ 20%]
136+
pelc\batch_eplet_comp_aux.py . [ 23%]
137+
pelc\output_type.py . [ 25%]
138+
pelc\simple_comparison.py . [ 28%]
139+
tests\__init__.py . [ 30%]
140+
tests\base_loading_for_tests.py . [ 33%]
141+
tests\test_eplet_mismatches.py ......... [ 56%]
142+
tests\test_extract_key_to_rank_epletes.py .. [ 61%]
143+
tests\test_is_valid_allele.py .. [ 66%]
144+
tests\test_only_one_chromosome.py .. [ 71%]
145+
tests\test_pelc.py .. [ 76%]
146+
tests\test_same_locus.py .. [ 82%]
145147
tests\test_simple_comparison.py ..... [ 94%]
146148
tests\test_unexpected_alleles.py .. [100%]
147-
=================================== mypy =====================================
149+
==================================== mypy =====================================
148150
149-
Success: no issues found in 19 source files
150-
============================= 37 passed in 14.95s ============================
151+
Success: no issues found in 20 source files
152+
============================= 39 passed in 32.56s =============================
151153
```
152154

153155

@@ -175,7 +177,7 @@ If you use this software, please cite it as below.
175177
If you use this software, please cite it as below.
176178
177179
Lhotte, R., Clichet, V., Usureau, C. & Taupin, J. (2022).
178-
Python Eplet Load Calculator (PELC) package (Version 0.5.1) [Computer software].
180+
Python Eplet Load Calculator (PELC) package (Version 0.5.2) [Computer software].
179181
https://doi.org/10.5281/zenodo.7254809
180182
```
181183

@@ -190,7 +192,7 @@ https://doi.org/10.5281/zenodo.7254809
190192
month = oct,
191193
year = 2022,
192194
publisher = {Zenodo},
193-
version = {0.5.1},
195+
version = {0.5.2},
194196
doi = {10.5281/zenodo.7526198},
195197
}
196198
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pelc"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
description = "Python Eplet Load Calculator"
55
authors = ["JasonMendoza2008 <[email protected]>"]
66
readme = "README.md"

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.1'
5+
assert __version__ == '0.5.2'

0 commit comments

Comments
 (0)