Skip to content

Commit 670b0f1

Browse files
committed
linting issues
1 parent f19e45e commit 670b0f1

File tree

7 files changed

+6
-122
lines changed

7 files changed

+6
-122
lines changed

CPP_getResponseDemo.m

Lines changed: 0 additions & 106 deletions
This file was deleted.

demos/CPP_pressSpace4meDemo.m renamed to demos/CPP_pressSpaceForMeDemo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
KbName('UnifyKeyNames');
77

88
% press the key "space" to "start" the experiment
9-
pressSpace4me;
9+
pressSpaceForMe;

demos/CPP_wait4TriggerDemo.m

Lines changed: 0 additions & 11 deletions
This file was deleted.

drawFixationCross.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function drawFixationCross(cfg, expParameters, color)
2-
% Define the parameters of the fixation cross in `cfg` and `expParameters` and this does the rest.
2+
% Define the parameters of the fixation cross in `cfg` and `expParameters`
33

44
Screen('DrawLines', ...
55
cfg.win, ...

initPTB.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ function initDebug(cfg)
197197
function cfg = openWindow(cfg)
198198

199199
if cfg.testingSmallScreen
200-
[cfg.win, cfg.winRect] = Screen('OpenWindow', cfg.screen, cfg.backgroundColor, [0, 0, 480, 270]);
200+
[cfg.win, cfg.winRect] = Screen('OpenWindow', cfg.screen, cfg.backgroundColor, ...
201+
[0, 0, 480, 270]);
201202
else
202203
[cfg.win, cfg.winRect] = Screen('OpenWindow', cfg.screen, cfg.backgroundColor);
203204
end

testKeyboards.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function throwError(keyCode, deviceNumber, keyboardType)
3737

3838
text2 = '\nThese are the devices currently connected.\n\n';
3939

40-
errorText = 'No key was pressed. Did you configure the keyboards properly? See message above for more info.';
40+
errorText = 'No key was pressed. Did you configure the keyboards properly? See above for info.';
4141

4242
if all(keyCode == 0)
4343

wait4Trigger.m renamed to waitForTrigger.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function wait4Trigger(cfg, deviceNumber)
1+
function waitForTrigger(cfg, deviceNumber)
22
% Counts a certain number of triggers coming from the scanner before returning.
33
%
44
% Will print the count down in the command line and on the PTB window if one is

0 commit comments

Comments
 (0)