BritishGeologicalSurvey / pyagsapi

pyagsapi - An AGS Utilities API with AGS v4.x Schema Validation & Converter for .ags<-->.xslx files
https://britishgeologicalsurvey.github.io/pyagsapi/
GNU Lesser General Public License v3.0
12 stars 2 forks source link

If AGS fails due to file errors don't do BGS checks #91

Closed ximenesuk closed 1 year ago

ximenesuk commented 1 year ago

The AGS checker will handle and report AGS3 files, however these cannot be read by the BGS checker. In this case the BGS tests should not happen. This PR adds a flag to the checker results to control this and adds additional metadata that could be used by the API consumer. Relevant tests have been revised.

ximenesuk commented 1 year ago

This is an over-complicated solution that doesn't address the BGS checker being used on its own! Closing in favour of a second PR. See #92