Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve synthetic with + in task label for beh/ data #481

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions synthetic/code/create_synthethic_ds.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Loading