You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stop_signal_with_go_no_go/experiment.js
+28-25Lines changed: 28 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -131,22 +131,22 @@ var getCategorizeFeedback = function(){
131
131
return'<div class = fb_box><div class = center-text><font size = 20>There was a star + Shape was '+go_no_go_styles[1]+'.</font></div></div>'+prompt_text
'<li>Do not respond if the shape is '+go_no_go_styles[1]+'!</li>'+
397
400
'</ul>'
398
401
399
402
varprompt_text='<div class = prompt_box>'+
400
-
'<p class = center-block-text style = "font-size:16px; line-height:80%%;">'+shapes[0]+': '+possible_responses[0][0]+'</p>'+
401
-
'<p class = center-block-text style = "font-size:16px; line-height:80%%;">'+shapes[2]+': '+possible_responses[2][0]+'</p>'+
403
+
'<p class = center-block-text style = "font-size:16px; line-height:80%%;">'+shapes[0][0]+': '+possible_responses[0][0][0]+'</p>'+
404
+
'<p class = center-block-text style = "font-size:16px; line-height:80%%;">'+shapes[1][0]+': '+possible_responses[1][0][0]+'</p>'+
402
405
'<p class = center-block-text style = "font-size:16px; line-height:80%%;">Do not respond if a star appears!</p>'+
403
406
'<p class = center-block-text style = "font-size:16px; line-height:80%%;">Do not respond if the shape is '+go_no_go_styles[1]+'!</p>'+
404
407
'</div>'
@@ -488,8 +491,8 @@ var instructions_block = {
488
491
'<div class = centerbox>'+
489
492
'<p class = block-text>In this task you will see shapes appear on the screen one at a time. </p>'+
490
493
'<p class = block-text>Only one response is correct for each shape.</p>'+
491
-
'<p class = block-text>If the shape is a '+shapes[0]+', press the '+possible_responses[0][0]+'.</p>'+
492
-
'<p class = block-text>If the shape is a '+shapes[2]+', press the '+possible_responses[2][0]+'.</p>'+
494
+
'<p class = block-text>If the shape is a '+shapes[0][0]+', press the '+possible_responses[0][0][0]+'.</p>'+
495
+
'<p class = block-text>If the shape is a '+shapes[1][0]+', press the '+possible_responses[1][0][0]+'.</p>'+
493
496
'<p class = block-text>You should respond as quickly and accurately as possible to each shape.</p>'+
494
497
'</div>',
495
498
@@ -570,7 +573,7 @@ var prompt_fixation_block = {
570
573
571
574
varpractice_intro={
572
575
type: 'poldrack-single-stim',
573
-
stimulus: '<div class = centerbox><p class = block-text>We will now start the practice for the experiment.<br><br>For these trials, you must press the <i>'+possible_responses[0][0]+'</i>, '+' or <i>'+possible_responses[2][0]+' </i>depending on the shape of the stimulus. Make sure to respond as quickly and accurately as possible to the shape. <br><br> The responses for each shape are as follows: '+
576
+
stimulus: '<div class = centerbox><p class = block-text>We will now start the practice for the experiment.<br><br>For these trials, you must press the <i>'+possible_responses[0][0][0]+'</i>, '+' or <i>'+possible_responses[1][0][0]+' </i>depending on the shape of the stimulus. Make sure to respond as quickly and accurately as possible to the shape. <br><br> The responses for each shape are as follows: '+
574
577
prompt_text+
575
578
'</p><p class = block-text>Remember these rules before you proceed.</p><p class = block-text>Press <i> enter</i> to begin.</p></div>',
576
579
is_html: true,
@@ -588,8 +591,8 @@ var test_intro = {
588
591
stimulus: '<div class = centerbox>'+
589
592
'<p class = block-text>We will now begin the test portion.</p>'+
590
593
'<p class = block-text>You will see a shape on every trial. Please respond to each shape as quickly and accurately as possible!</p>'+
591
-
'<p class = block-text>If the shape is a '+shapes[0]+' or a '+shapes[1]+', press the '+possible_responses[0][0]+'.</p>'+
592
-
'<p class = block-text>If the shape is a '+shapes[2]+' or a '+shapes[3]+', press the '+possible_responses[2][0]+'.</p>'+
594
+
'<p class = block-text>If the shape is a '+shapes[0][0]+', press the '+possible_responses[0][0][0]+'.</p>'+
595
+
'<p class = block-text>If the shape is a '+shapes[1][0]+', press the '+possible_responses[1][0][0]+'.</p>'+
593
596
'<p class = block-text>Do not respond if you see a star</p>'+
594
597
'<p class = block-text>Do not respond if the shape is '+go_no_go_styles[1]+'</p>'+
595
598
'<p class = block-text>You will no longer receive the rule prompt, so remember the instructions before you continue. Press Enter to begin.</p>'+
@@ -654,7 +657,7 @@ for (i = 0; i < practice_len; i++) {
0 commit comments