marcus-nystrom / Titta

Python and PsychoPy interface to Tobii eye trackers using Tobii Pro SDK
Other
61 stars 25 forks source link

compute_data_quality and detect_fixations cannot handle an empty trial tsv file #39

Closed dev-jam closed 10 months ago

dev-jam commented 10 months ago

compute_data_quality.py and detect_fixations.py crash when they encounter an empty trial tsv file (file with header but no data) generated by extract_trial_data.py.

Manually removing the empty files solves this at the moment.

marcus-nystrom commented 10 months ago

Thanks for reporting. Fixed.

dev-jam commented 10 months ago

change of the location of the h5 and json files was not integrated yet in compute_data_quality.py. Created a pull request for that. After that it works perfectly. Thanks!