Skip to content

Commit 4c9b101

Browse files
committed
fix linter
1 parent bbde970 commit 4c9b101

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

eyeTracker.m

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
% SET UP TRACKER CONFIGURATION
7373
% Setting the proper recording resolution, proper calibration type,
7474
% as well as the data file content;
75-
% Eyelink('command', 'add_file_preamble_text ''Recorded by EyelinkToolbox demo-experiment''');
75+
% Eyelink('command', 'add_file_preamble_text ''Recorded by
76+
%EyelinkToolbox demo-experiment''');
7677

7778
% This command is crucial to map the gaze positions from the tracker to
7879
% screen pixel positions to determine fixation
@@ -89,7 +90,7 @@
8990
Eyelink('command', 'generate_default_targets = YES');
9091
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
9192

92-
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
93+
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
9394
% % CUSTOM CALIBRATION
9495
% % (SET MANUALLY THE DOTS COORDINATES, HERE FOR 6 DOTS)
9596
% Eyelink('command', 'calibration_type = HV5');
@@ -101,7 +102,8 @@
101102
% [width, height]=Screen('WindowSize', screenNumber);
102103
% Eyelink('command','calibration_samples = 6');
103104
% Eyelink('command','calibration_sequence = 0,1,2,3,4,5');
104-
% Eyelink('command','calibration_targets = %d,%d %d,%d %d,%d %d,%d %d,%d',...
105+
% Eyelink('command','calibration_targets = ...
106+
% %d,%d %d,%d %d,%d %d,%d %d,%d',...
105107
% 640,512, ... %width/2,height/2
106108
% 640,102, ... %width/2,height*0.1
107109
% 640,614, ... %width/2,height*0.6
@@ -110,13 +112,14 @@
110112
%
111113
% Eyelink('command','validation_samples = 5');
112114
% Eyelink('command','validation_sequence = 0,1,2,3,4,5');
113-
% Eyelink('command','validation_targets = %d,%d %d,%d %d,%d %d,%d %d,%d',...
115+
% Eyelink('command','validation_targets = ...
116+
% %d,%d %d,%d %d,%d %d,%d %d,%d',...
114117
% 640,512, ... %width/2,height/2
115118
% 640,102, ... %width/2,height*0.1
116119
% 640,614, ... %width/2,height*0.6
117120
% 128,341, ... %width*0.1,height*1/3
118121
% 1152,341 ); %width-width*0.1,height*1/3
119-
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
122+
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
120123

121124
% % set parser (conservative saccade thresholds)
122125
% Eyelink('command', 'saccade_velocity_threshold = 35');
@@ -199,12 +202,15 @@
199202
% download data file
200203
try
201204
fprintf('Receiving data file ''%s''\n', edfFileName);
202-
status = Eyelink('ReceiveFile', '', [expParameters.outputDir, filesep, 'eyetracker', filesep, edfFileName]);
205+
status = Eyelink('ReceiveFile', '', ...
206+
[expParameters.outputDir, filesep, 'eyetracker', filesep, edfFileName]);
203207
if status > 0
204208
fprintf('ReceiveFile status %d\n', status);
205209
end
206-
if 2 == exist([expParameters.outputDir, filesep, 'eyetracker', filesep, edfFileName], 'file')
207-
fprintf('Data file ''%s'' can be found in ''%s''\n', edfFileName, [expParameters.outputDir, filesep, 'eyetracker', filesep]);
210+
if 2 == exist([expParameters.outputDir, filesep, 'eyetracker', ...
211+
filesep, edfFileName], 'file')
212+
fprintf('Data file ''%s'' can be found in ''%s''\n', edfFileName, ...
213+
[expParameters.outputDir, filesep, 'eyetracker', filesep]);
208214
end
209215
catch
210216
fprintf('Problem receiving data file ''%s''\n', edfFileName);

0 commit comments

Comments
 (0)