The Gef parser doesn't parse the cpt data table when the columns are separated by tabs. This can be confusing since multiple spaces (which are visually indistinguishable from tabs) are accepted as a separator by default. The GEF-format is a human-readable format and therefore we should accept tabs as a columnseparator by default.
Another reason for change is that it is not possible to enter the "tab" or "\t" as a value of #COLUMNSEPARATOR, so TAB-separated data cannot be parsed at all ATM.
How to reproduce
In the zip file enclosed are two files:
"cpt-tabs.GEF": Gives an error when parsed with pygef.read_cpt();
"cpt-spaces.GEF": Same file as the other, except the tabs are replaced with multiple spaces. This file CAN be parsed with pygef.read_cpt().
The Gef parser doesn't parse the cpt data table when the columns are separated by tabs. This can be confusing since multiple spaces (which are visually indistinguishable from tabs) are accepted as a separator by default. The GEF-format is a human-readable format and therefore we should accept tabs as a columnseparator by default.
Another reason for change is that it is not possible to enter the "tab" or "\t" as a value of #COLUMNSEPARATOR, so TAB-separated data cannot be parsed at all ATM.
How to reproduce
In the zip file enclosed are two files:
pygef.read_cpt()
;pygef.read_cpt()
.cpt-gef.zip