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

Validation passes with no worksheets being described #143

Closed jacobcook1995 closed 4 months ago

jacobcook1995 commented 4 months ago

If a datafile contains worksheets which aren't described then dataset validation should fail. At the moment it fails if at least one data worksheet is described and others are not. In the case where no worksheet is described at all then it passes, which it absolutely shouldn't. This is an important bug to track down

davidorme commented 4 months ago

The logic in _load_data_worksheets is totally borked.