Skip to content

Commit 21e5755

Browse files
committed
fixed alc/drg network survey issues
1 parent abc34fb commit 21e5755

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

alcohol_drugs_survey_network/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
],
2323
"exp_id": "alcohol_drugs_survey_network",
24-
"cognitive_atlas_task_id": "tsk_4a57abb949e1a",
24+
"cognitive_atlas_task_id": "",
2525
"contributors": [
2626
"Jamie Li",
2727
"Ian Eisenberg",

alcohol_drugs_survey_network/experiment.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function getDisplayElement() {
99
}
1010

1111
function addID() {
12-
jsPsych.data.addDataToLastTrial({exp_id: 'alcohol_drugs_survey__stanford_baseline'})
12+
jsPsych.data.addDataToLastTrial({exp_id: 'alcohol_drugs_survey_network'})
1313
}
1414
var conditional_length_counter = 0
1515
var getQuestions = function(){
@@ -179,8 +179,8 @@ var appendData = function(){
179179
/* ************************************ */
180180
/* Define Experimental Variables */
181181
/* ************************************ */
182-
var preFileType = "<img class = center src='/static/experiments/alcohol_drugs_survey__stanford_baseline/images/"
183-
var pathSource = "/static/experiments/alcohol_drugs_survey__stanford_baseline/images/"
182+
var preFileType = "<img class = center src='/static/experiments/alcohol_drugs_survey_network/images/"
183+
var pathSource = "/static/experiments/alcohol_drugs_survey_network/images/"
184184

185185
var sub_made_fatal_response = 0 // 0 if not, 1 if so
186186
var sub_made_conditional_response = -1
@@ -519,7 +519,7 @@ var checkbox = '</font></p>'+
519519
var end_block = {
520520
type: 'poldrack-text',
521521
data: {
522-
exp_id: "alcohol_drugs_survey__stanford_baseline",
522+
exp_id: "alcohol_drugs_survey_network",
523523
trial_id: "end"
524524
},
525525
timing_response: 180000,
@@ -584,7 +584,7 @@ for(var x = 0; x < survey_questions.length; x++){
584584
is_html: true,
585585
choices: [81], //48,49,50,51,52
586586
data: {
587-
exp_id: "alcohol_drugs_survey__stanford_baseline",
587+
exp_id: "alcohol_drugs_survey_network",
588588
"trial_id": "post_questionnaire_block"
589589
},
590590
timing_post_trial: 0,

0 commit comments

Comments
 (0)