Skip to content

Commit ba46c2d

Browse files
committed
fix miss_hit suggestions
1 parent 3d49d81 commit ba46c2d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

setParameters.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636

3737
cfg.design.names = {'static', 'motion'};
3838
cfg.design.possibleDirections = [-1 1]; % 1 motion , -1 static %NOT IN USE AT THE MOMENT
39-
cfg.design.numBlocks = size(cfg.design.names , 2); % TO CHECK
40-
cfg.design.nbRepetitions = 1; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT
39+
cfg.design.numBlocks = size(cfg.design.names, 2); % TO CHECK
40+
cfg.design.nbRepetitions = 1; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT
4141
cfg.design.nbEventsPerBlock = 12;
4242

4343
%% Timing

subfun/expDesign.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
function [cfg] = expDesign(cfg, displayFigs)
22
% Creates the sequence of blocks and the events in them
33
%
4-
% The conditions are consecutive static and motion blocks (Gives better results than randomised).
4+
% The conditions are consecutive static and motion blocks (Gives better results
5+
% than randomised).
56
%
67
% It can be run as a stand alone without inputs to display a visual example of possible design.
78
%
@@ -65,7 +66,8 @@
6566
maxNumFixTargPerBlock = cfg.target.maxNbPerBlock;
6667

6768
if mod(numEventsPerBlock, length(motionDirections)) ~= 0
68-
warning('the number of events per block is not a multiple of the number of motion/static diection');
69+
warning('the number of events per block is not a multiple of the number ...
70+
of motion/static diection');
6971
end
7072

7173
%% Adapt some variables according to input

0 commit comments

Comments
 (0)