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

Empty cell in Summary fields causes error #86

Closed davidorme closed 9 months ago

davidorme commented 9 months ago

If a Summary metadata field has an empty cell in Column A - where a metadata field name is expected - then an error is thrown when the standardisation tries to take the lower case value of a None value.

davidorme commented 9 months ago

Actually, this error occurs with any non-string field header in Column A, not just empty ones. We check for non-strings and warn about them but then take lower of all values.