https://github.com/pupil-labs/pupil
Revision 4e9800991fdf1df16f8cfb4e5ca40a1eca1780f7 authored by Roman Roibu on 05 November 2019, 17:15:23 UTC, committed by Roman Roibu on 05 November 2019, 17:15:23 UTC
This doesn't change the behaviour, since np.median will return np.nan for empty input either way, but it makes it explicit and avoids a RuntimeWarning
1 parent aff07fe
History
Tip revision: 4e9800991fdf1df16f8cfb4e5ca40a1eca1780f7 authored by Roman Roibu on 05 November 2019, 17:15:23 UTC
Explicitly check if time_diff is empty in VideoSet._fill_gaps method
Tip revision: 4e98009
File Mode Size
deployment
docs
pupil_external
pupil_src
.gitignore -rw-r--r-- 708 bytes
.travis.yml -rw-r--r-- 1.4 KB
COPYING -rw-r--r-- 34.3 KB
COPYING.LESSER -rw-r--r-- 7.5 KB
README.md -rw-r--r-- 4.1 KB
conftest.py -rw-r--r-- 397 bytes
update_license_header.py -rw-r--r-- 3.4 KB

README.md

back to top