Investigate warning reported in #8 #12

Closed
opened 2018-08-31 12:23:43 +00:00 by mih · 1 comment
mih commented 2018-08-31 12:23:43 +00:00 (Migrated from github.com)
code/tests/test_nystrom.py::test_real_data
/home/adina/Documents/MastersThesis/Asim/studyforrest-data-eyemovementlabels/code/detect_events.py:361: RuntimeWarning: Mean of empty slice.
sacc_start, sacc_end, peakvels.mean())
/usr/lib/python3/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
``` code/tests/test_nystrom.py::test_real_data /home/adina/Documents/MastersThesis/Asim/studyforrest-data-eyemovementlabels/code/detect_events.py:361: RuntimeWarning: Mean of empty slice. sacc_start, sacc_end, peakvels.mean()) /usr/lib/python3/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) ```
mih commented 2018-09-01 07:53:54 +00:00 (Migrated from github.com)

Now reliably produced by the tests:

code/tests/test_detect.py::test_real_data[inputs/raw_eyegaze/sub-02/ses-movie/func/sub-02_ses-movie_task-movie_run-5_recording-eyegaze_physio.tsv.gz]
  /home/mih/psycho/papers/forrest_saccades/studyforrest-data-eyemovementlabels/code/detect_events.py:361: RuntimeWarning: Mean of empty slice.
    sacc_start, sacc_end, peakvels.mean())
  /usr/lib/python2.7/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars
    ret = ret.dtype.type(ret / rcount)
Now reliably produced by the tests: ``` code/tests/test_detect.py::test_real_data[inputs/raw_eyegaze/sub-02/ses-movie/func/sub-02_ses-movie_task-movie_run-5_recording-eyegaze_physio.tsv.gz] /home/mih/psycho/papers/forrest_saccades/studyforrest-data-eyemovementlabels/code/detect_events.py:361: RuntimeWarning: Mean of empty slice. sacc_start, sacc_end, peakvels.mean()) /usr/lib/python2.7/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
studyforrest/data-eyemovementlabels#12
No description provided.