Error using import_eyelink>pspm_chans_in_file (line 228)
This branch should not have been taken. Please contact PsPM dev team
In file "...PsPM_v6.1.2\PsPM_v6.1.2\Import\eyelink\import_eyelink.m" (???), function "pspm_chans_in_file" at line 228.
In file "...PsPM_v6.1.2\PsPM_v6.1.2\Import\eyelink\import_eyelink.m" (???), function "parse_eyelink_file" at line 143.
In file "...PsPM_v6.1.2\PsPM_v6.1.2\Import\eyelink\import_eyelink.m" (???), function "import_eyelink" at line 46.
In file "...PsPM_v6.1.0\PsPM6.1\pspm_get_eyelink.m" (???), function "pspm_get_eyelink" at line 48.
In file "...PsPM_v6.1.0\PsPM6.1\pspm_import.m" (???), function "pspm_import" at line 246.
In file "...PsPM_v6.1.0\PsPM6.1\pspm_cfg\pspm_cfg_run_import.m" (???), function "pspm_cfg_run_import" at line 117.
The following modules did not run:
Failed: Import
If the problem can be fixed without modifying the job, the computation can be resumed by running
cfg_util('cont',3)
from the MATLAB command line.
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look for the line showing the exact #job as displayed in this error message)
Running job #3
(Optional) Possible Cause and Solutions
When reading eyes information from asc file, the length of the message differs depend on whether one eye or both eyes was recorded.
(Optional) Screenshots if Graphical User Interface is Used
Summary
Steps to Reproduce
matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.datafile = asc_file; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{1}.marker.chan_nr.chan_nr_def = 0; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{1}.marker.flank_option = 'default'; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{2}.pupil_l.chan_nr.chan_nr_spec = 1; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{3}.gaze_x_l.chan_nr.chan_nr_spec = 2; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{4}.gaze_y_l.chan_nr.chan_nr_spec = 3; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{5}.pupil_r.chan_nr.chan_nr_spec = 4; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{6}.gaze_x_r.chan_nr.chan_nr_spec = 5; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{7}.gaze_y_r.chan_nr.chan_nr_spec = 6; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.eyelink_trackdist = -1; matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.distance_unit = 'mm'; matlabbatch{1}.pspm{1}.prep{1}.import.overwrite = true;
pspm_jobman('run',matlabbatch); clear matlabbatch;
Expected Results
...- Running 'Import' ... ... - Done 'Import' ... - Done
Actual Results
Error using import_eyelink>pspm_chans_in_file (line 228) This branch should not have been taken. Please contact PsPM dev team In file "...PsPM_v6.1.2\PsPM_v6.1.2\Import\eyelink\import_eyelink.m" (???), function "pspm_chans_in_file" at line 228. In file "...PsPM_v6.1.2\PsPM_v6.1.2\Import\eyelink\import_eyelink.m" (???), function "parse_eyelink_file" at line 143. In file "...PsPM_v6.1.2\PsPM_v6.1.2\Import\eyelink\import_eyelink.m" (???), function "import_eyelink" at line 46. In file "...PsPM_v6.1.0\PsPM6.1\pspm_get_eyelink.m" (???), function "pspm_get_eyelink" at line 48. In file "...PsPM_v6.1.0\PsPM6.1\pspm_import.m" (???), function "pspm_import" at line 246. In file "...PsPM_v6.1.0\PsPM6.1\pspm_cfg\pspm_cfg_run_import.m" (???), function "pspm_cfg_run_import" at line 117.
The following modules did not run: Failed: Import If the problem can be fixed without modifying the job, the computation can be resumed by running cfg_util('cont',3) from the MATLAB command line.
Error using MATLABbatch system Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look for the line showing the exact #job as displayed in this error message)
Running job #3
(Optional) Possible Cause and Solutions
When reading eyes information from asc file, the length of the message differs depend on whether one eye or both eyes was recorded.
(Optional) Screenshots if Graphical User Interface is Used
Technical Info