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

A487 Pont ar Dyfi Improvement.ags failing with libary 0.5 #136

Closed KoalaGeo closed 4 months ago

KoalaGeo commented 4 months ago

Checking lines... Loading tables... Error: Line 106 does not have the same number of entries as the HEADING row in GEOL.

validate() does return a response.

plain text response works but not the HTML or JSON

file contains some pairs of lines like this:

"DATA","A487 PONT AR DYFI IMPROVEMENT 17","21.95","Grey SILTSTONE, moderately strong. BH CONTINUED BY ROTARY DRILLING.","Siltstone","802","21.70"

i.e. one of the data elements is broken over two lines. These are the lines it complains about on the console - claiming they don't have enough data elements

KoalaGeo commented 4 months ago

Fixed in https://github.com/BritishGeologicalSurvey/pyagsapi/pull/138