When sampling frequency cannot be extracted from gt3x file, the call to function g.dotorcomma() can be skipped in g.inspectfile() because:
Whatever decimal separator it extracts, it is not going to be used.
Internally g.dotorcomma it attempts to read the gt3x file, which most likely will not be possible since sampling frequency could also not be extracted.
Also it seems code still stops with an error when sf is missing, while we ideally want it to continue with the next file and only show a warning as that will be easier for large datasets.
When sampling frequency cannot be extracted from gt3x file, the call to function
g.dotorcomma()
can be skipped ing.inspectfile()
because:Also it seems code still stops with an error when sf is missing, while we ideally want it to continue with the next file and only show a warning as that will be easier for large datasets.