marcus-nystrom/Titta

IndexError

Closed this issue · 1 comments

Hi,
Program tested: extract_trial_data_and_detect_fixation.py from the 'resources' folder.
I tried run the 'testfile.pkl' from same folder and get an error :
line 31, in extract_trial_data
start_idx = np.where(df_msg.msg == msg_onset) [0] [0]
IndexError: index 0 is out of bounds for axis 0 with size 0

I also tried with another .pkl file created after running the antisaccade task demo and have the same error.
Thanks for help.
Regards,
Christophe.