ofgulban / bvbabel

A lightweight Python library for reading & writing BrainVoyager file formats.
MIT License
19 stars 11 forks source link

Update voi.py #39

Closed ju-ec closed 1 year ago

ju-ec commented 1 year ago

VOIs that start with coordinates with a negative X value were not read properly, because the isdigit() function evaluates to False for negative numbers. This has been fixed by stripping the minus sign when checking

ofgulban commented 1 year ago

Thanks for the fix :)