diff --git a/synthetic/code/create_synthethic_ds.sh b/synthetic/code/create_synthethic_ds.sh old mode 100644 new mode 100755 index af4464a5d..0de374131 --- a/synthetic/code/create_synthethic_ds.sh +++ b/synthetic/code/create_synthethic_ds.sh @@ -16,16 +16,17 @@ create_raw_beh() { ses=$3 suffix='_beh' - task_name='stroop' this_dir=${target_dir}/sub-${subject}/ses-${ses}/beh mkdir -p ${this_dir} - filename=${this_dir}/sub-${subject}_ses-${ses}_task-${task_name}${suffix}.tsv - echo -e "trial\tresponse\treaction_time\tstim_file" >${filename} - echo -e "congruent\tred\t1.435\timages/word-red_color-red.jpg" >>${filename} - echo -e "incongruent\tred\t1.739\timages/word-red_color-blue.jpg" >>${filename} + for task_name in stroop+whitebg stroop+blackbg; do + filename=${this_dir}/sub-${subject}_ses-${ses}_task-${task_name}${suffix}.tsv + echo -e "trial\tresponse\treaction_time\tstim_file" >${filename} + echo -e "congruent\tred\t1.435\timages/word-red_color-red.jpg" >>${filename} + echo -e "incongruent\tred\t1.739\timages/word-red_color-blue.jpg" >>${filename} + done } # RAW DATASET diff --git a/synthetic/sub-01/ses-01/beh/sub-01_ses-01_task-stroop_beh.tsv b/synthetic/sub-01/ses-01/beh/sub-01_ses-01_task-stroop+blackbg_beh.tsv similarity index 100% rename from synthetic/sub-01/ses-01/beh/sub-01_ses-01_task-stroop_beh.tsv rename to synthetic/sub-01/ses-01/beh/sub-01_ses-01_task-stroop+blackbg_beh.tsv diff --git a/synthetic/sub-02/ses-01/beh/sub-02_ses-01_task-stroop_beh.tsv b/synthetic/sub-01/ses-01/beh/sub-01_ses-01_task-stroop+whitebg_beh.tsv similarity index 100% rename from synthetic/sub-02/ses-01/beh/sub-02_ses-01_task-stroop_beh.tsv rename to synthetic/sub-01/ses-01/beh/sub-01_ses-01_task-stroop+whitebg_beh.tsv diff --git a/synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop_beh.tsv b/synthetic/sub-02/ses-01/beh/sub-02_ses-01_task-stroop+blackbg_beh.tsv similarity index 100% rename from synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop_beh.tsv rename to synthetic/sub-02/ses-01/beh/sub-02_ses-01_task-stroop+blackbg_beh.tsv diff --git a/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop_beh.tsv b/synthetic/sub-02/ses-01/beh/sub-02_ses-01_task-stroop+whitebg_beh.tsv similarity index 100% rename from synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop_beh.tsv rename to synthetic/sub-02/ses-01/beh/sub-02_ses-01_task-stroop+whitebg_beh.tsv diff --git a/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop_beh.tsv b/synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop+blackbg_beh.tsv similarity index 100% rename from synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop_beh.tsv rename to synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop+blackbg_beh.tsv diff --git a/synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop+whitebg_beh.tsv b/synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop+whitebg_beh.tsv new file mode 100644 index 000000000..655289e92 --- /dev/null +++ b/synthetic/sub-03/ses-01/beh/sub-03_ses-01_task-stroop+whitebg_beh.tsv @@ -0,0 +1,3 @@ +trial response reaction_time stim_file +congruent red 1.435 images/word-red_color-red.jpg +incongruent red 1.739 images/word-red_color-blue.jpg diff --git a/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop+blackbg_beh.tsv b/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop+blackbg_beh.tsv new file mode 100644 index 000000000..655289e92 --- /dev/null +++ b/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop+blackbg_beh.tsv @@ -0,0 +1,3 @@ +trial response reaction_time stim_file +congruent red 1.435 images/word-red_color-red.jpg +incongruent red 1.739 images/word-red_color-blue.jpg diff --git a/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop+whitebg_beh.tsv b/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop+whitebg_beh.tsv new file mode 100644 index 000000000..655289e92 --- /dev/null +++ b/synthetic/sub-04/ses-01/beh/sub-04_ses-01_task-stroop+whitebg_beh.tsv @@ -0,0 +1,3 @@ +trial response reaction_time stim_file +congruent red 1.435 images/word-red_color-red.jpg +incongruent red 1.739 images/word-red_color-blue.jpg diff --git a/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop+blackbg_beh.tsv b/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop+blackbg_beh.tsv new file mode 100644 index 000000000..655289e92 --- /dev/null +++ b/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop+blackbg_beh.tsv @@ -0,0 +1,3 @@ +trial response reaction_time stim_file +congruent red 1.435 images/word-red_color-red.jpg +incongruent red 1.739 images/word-red_color-blue.jpg diff --git a/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop+whitebg_beh.tsv b/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop+whitebg_beh.tsv new file mode 100644 index 000000000..655289e92 --- /dev/null +++ b/synthetic/sub-05/ses-01/beh/sub-05_ses-01_task-stroop+whitebg_beh.tsv @@ -0,0 +1,3 @@ +trial response reaction_time stim_file +congruent red 1.435 images/word-red_color-red.jpg +incongruent red 1.739 images/word-red_color-blue.jpg