psychoinformatics-de / remodnav

Robust Eye Movement Detection for Natural Viewing
Other
59 stars 16 forks source link

Cannot convert NaN to integer #42

Closed Markdood88 closed 1 year ago

Markdood88 commented 2 years ago

remodnav "test.tsv" "output.tsv" .01855812 1000.0 Traceback (most recent call last): File "c:\users\user\anaconda3\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\user\anaconda3\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\User\anaconda3\Scripts\remodnav.exe__main.py", line 7, in File "c:\users\user\anaconda3\lib\site-packages\remodnav\init__.py", line 145, in main pp = clf.preproc( File "c:\users\user\anaconda3\lib\site-packages\remodnav\clf.py", line 855, in preproc data['x'][mask] = np.nan ValueError: cannot convert float NaN to integer

Markdood88 commented 2 years ago

test.tsv is a 54000 row, 2 column file with x and y values from -2500 -> 2500 if this helps. Im not sure what this error is in reference to.

adswa commented 2 years ago

Hey, would you maybe mind sharing the data file this happens with so that I could take a closer look?

adswa commented 1 year ago

Hey, do you still have problems with this? I'm closing this issue due to inactivity and missing information, so that I can reduce the number of open issues a bit - but please feel free to reopen this in case there are remaining problems or questions :)