rhenanbartels / hrv

A Python package for heart rate variability analysis
BSD 3-Clause "New" or "Revised" License
194 stars 57 forks source link

"FileNotSupportedError: 'Text file not supported'" error #8

Closed Kubastanek closed 6 years ago

Kubastanek commented 6 years ago

Hi, I am trying to import data from Biopack software in .txt but I am still getting " File "C:\Users\MSI\Anaconda2\lib\site-packages\hrv\utils.py", line 85, in _identify_rri_file_type raise FileNotSupportedError('Text file not supported')

FileNotSupportedError: 'Text file not supported''".

I have tried to save data from Biopack (default .ACQ) as .txt or as .EDF and convert to .txt, none of this worked. Could you please tell me, how should the structure(delimeter, line ending, headers) of .txt looks like?

Thank you very much!

rhenanbartels commented 6 years ago

Hi Kubastanek, I've attached a sample of typical RRi values saved in .txt. If the file follows this pattern it should work. Let me know if you keep having trouble. Best regards 08031806.txt