You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the library does not handle gracefully when a wrong file path is passed to pyedflib.EdfReader() since it raises a generic 'malloc error' (see trace below):
Traceback (most recent call last):
f = pyedflib.EdfReader(data_EDF)
File "pyedflib_extensions_pyedflib.pyx", line 91, in pyedflib._extensions._pyedflib.CyEdfReader.init (pyedflib_extensions_pyedflib.c:2674)
File "pyedflib_extensions_pyedflib.pyx", line 125, in pyedflib._extensions._pyedflib.CyEdfReader.open (pyedflib_extensions_pyedflib.c:3287)
File "pyedflib_extensions_pyedflib.pyx", line 101, in pyedflib._extensions._pyedflib.CyEdfReader.check_open_ok (pyedflib_extensions_pyedflib.c:2846)
IOError: malloc error
The text was updated successfully, but these errors were encountered:
Currently the library does not handle gracefully when a wrong file path is passed to pyedflib.EdfReader() since it raises a generic 'malloc error' (see trace below):
The text was updated successfully, but these errors were encountered: