Closed jacobcook1995 closed 2 years ago
My mistake - I've solved the same problem twice. I think this belongs in taxa.py
- it could applied to any taxon index, and I think the ability to use text as well is worthwhile. Given #18 and #16, we need a strategy to close all 3 issues.
Yeah I guess moving the updated functions into taxa.py
and restoring their ability to use text makes sense. #18 and #16 definitely require a bit of thought though
Closed by #23
In the taxa.py script the following function is defined: https://github.com/ImperialCollegeLondon/safedata_validator/blob/629fccb99bda005f92fd037f25f42909322bf4db/safedata_validator/taxa.py#L2789 It is then never called by any script within the
safedata_validator
packages, though maybe it is used by the website orsafedata
.zenodo.py defines a similar seeming function: https://github.com/ImperialCollegeLondon/safedata_validator/blob/629fccb99bda005f92fd037f25f42909322bf4db/safedata_validator/zenodo.py#L575
As far as I can make out the two functions have identical functionality aside for the fact that the first function allows text or html to be generated, while the second function only allows hmtl to be generated.
I feel like one function or the other should go, but am not sure which one?