ImperialCollegeLondon / safedata_validator

Python tools to validate and publish datasets using the safedata metadata format.
https://safedata-validator.readthedocs.io/
MIT License
2 stars 4 forks source link

Fix broken XML generation #109

Closed davidorme closed 6 months ago

davidorme commented 6 months ago

The safedata_zenodo generate_xml subcommand is broken - the function returns a string and error handling is not implemented correctly, so it doesn't follow the error, response pattern of the other subcommands. That's fine since it the function doesn't require a remote response, but it does need handling.

This could potentially be a separate entry point - safedata_describe? It feels rather out of place in the zenodo tools.