Releases: rcpch/rcpchgrowth-python
v4.4.0
What's Changed
Several back and forths here for notebooks
This release makes two changes, neither of which should change the function of the underlying package, but that implement two important changes, hence the minor version bump
- deprecates
setup.pyin favour ofpyproject.toml - includes some example python notebooks to make access to the project more accessible for Jupyter notebook users
- Jupyter by @eatyourpeas in #69
- typo fix in binder requirements.txt by @eatyourpeas in #70
- Charts by @eatyourpeas in #71
- remove-manifest-and-binder-link by @eatyourpeas in #72
- fix path to binder in requirements by @eatyourpeas in #73
- change binder/requirements.txt to pull from pypi by @eatyourpeas in #74
Full Changelog: v4.3.8...v4.4.0
v4.3.8
The fictional child endpoint has for some time not followed corrected age, but instead has generated values against chronological age, leading to some unusual charts when gestation was not 40 weeks.
This release fixes it so that fictional premature children can be plotted more as expected
What's Changed
- Fictional-child-track-corrected-age by @eatyourpeas in #68
Full Changelog: v4.3.7...v4.3.8
v4.3.7
Changes
Consumers of the digital growth charts API have found the error message for measurements that are out of bounds (+/- 8 SDS) not sufficiently detailed and asked for the age to be included in the response (in case the date of birth supplied was wrong).
It now reads: The height/length of 180.0 cm in a child of 2.9 years is above +8 SD and considered to be an error.
v4.3.6
Updates
Fix for WHO reference where LMS values missing for age 5.0 - this fills the gap in the centile lines between ages 5.0 and 5.08 y
Also fixes the WHO lookups to correctly include default_youngest_reference and return the correct WHO reference.
v4.3.5
Update
In CDC, the WHO standard should be used to calculate values for the under 2s, except head circumference. It was using the CDC for all ages leading to errors for users.
v4.3.4
Update
This patch replaces the rounding of centile values to the nearest 2/3 SDS if cole centiles have been requested
A test has been added to check the length of the chart_coordinates response object
v4.3.3
Reimplementation of the create_chart
Includes all references
Introduces specific decimal ages from which to generate charts
Introduces new centile collection [1, 3, 5, 10, 15, 50, 85, 90, 95, 97, 99], named 'extended-who-centiles'
v4.3.2
Bug fixes
- absent
decimal_agekey in the female WHO 2007 BMI data has been replaced - the filtering introduced in the last release to remove >4y data from lms arrays inadvertently removed all >4y data in chart function for UK-WHO in the UK90 reference.
v4.3.1
bug fixes
update midparental height calculation to allow WHO where reference data runs out at 19y
fixes the create_chart function broken after introduction of WHO to filter out WHO data over 4y in the UK-WHO charts
v4.3.0
Implements WHO growth reference 2007 (age 5-19y)
treats 37-42 w as term
Corrects for gestation otherwise up until 2 y but not beyond, as for CDC
No tests added, on the basis that 0-5y tests all passing.
Bumps minor version