Repository navigation
Take in soil enzyme parameterisation as csv rather than toml - #1947
Conversation
…enzyme parameters
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 1928-not-providing-parameterisation-for-soil-microbial-groups-and-enzymes-doesnt-result-in-a-configuration-error #1947 +/- ##
===================================================================================================================================================
Coverage ? 88.91%
===================================================================================================================================================
Files ? 85
Lines ? 9637
Branches ? 0
===================================================================================================================================================
Hits ? 8569
Misses ? 1068
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Jacob Cook (@jacobcook1995) I haven't looked in detail - nothing alarming but I think it would be more robust to make more direct use of the existing I haven't been through to try and get parity of all the checks with your new code - thought it was worth checking which direction to take it first. ETA
|
Yes that is a lot cleaner, thanks! I'll work on integrating it into the main model flow now |
7d2f811
into
1928-not-providing-parameterisation-for-soil-microbial-groups-and-enzymes-doesnt-result-in-a-configuration-error
Description
This PR changes the way that soil enzyme classes are produced. Instead of being generated directly from the configuration, a path to a csv file is provided. This CSV file is then used in model setup to create multiple instances of
SoilEnzymeClass.Lai Hao Ran (@hrlai), I've just put down David as a reviewer for this PR as I mainly need feedback on the code at the moment. I'll put you down as a reviewer for the overall feature branch when that is being merged to
main(because when that happens the input data will need to change)Fixes #1541
Type of change
Key checklist
pre-commitchecks:$ pre-commit run -a$ poetry run pytestFurther checks
data science team included as reviewers?