Skip to content

Commit

Permalink
fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemrupp committed Sep 24, 2024
1 parent 865291a commit 2e57beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions private/load_events.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
% Randomly select two different options from 'left', 'up', and 'right'
all_choices = {'left', 'up', 'right'};
%selected_choices = datasample(all_choices, 2, 'Replace', false); % Randomly select 2 options without replacement
selected_choices = {all_choices(block_choices(trial,1)), all_choices(block_choices(trial,2))};
selected_choices = [all_choices(block_choices(trial,1)), all_choices(block_choices(trial,2))];

i = i+1;
timing(i).event_name = 'choice';
timing(i).func = @choice;
timing(i).dur = 2;

% Set chance values depending on the block
timings(i).chance = block_probabilities(block);
timing(i).chance = block_probabilities(block,:);

timing(i).max_rt = timing(i).dur;
timing(i).i = i;
Expand Down

0 comments on commit 2e57beb

Please sign in to comment.