diff --git a/README.md b/README.md index 39b807c..8aa4a07 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# math_task -A basic math task implemented with PsychoPy. +# arithmetic-task +A basic arithmetic task implemented with PsychoPy. -This repository has two PsychoPy tasks: `training.py` and `math_task.py`. +This repository has two PsychoPy tasks: `training.py` and `arithmetic_task.py`. The script `training.py` is used for out-of-scanner training to ensure that participants understand the task. -The script `math_task.py` is the in-scanner task. +The script `arithmetic_task.py` is the in-scanner task. This task has two runs of 7.5 minutes. ## Configuration files diff --git a/math_task.py b/arithmetic_task.py similarity index 100% rename from math_task.py rename to arithmetic_task.py diff --git a/bids/generate_task_description_files.py b/bids/generate_task_description_files.py index 88be8d8..3f078c3 100644 --- a/bids/generate_task_description_files.py +++ b/bids/generate_task_description_files.py @@ -127,11 +127,11 @@ bold_description = { 'CogAtlasID': '', - 'TaskName': 'math' + 'TaskName': 'arithmetic' } -with open('task-math_events.json', 'w') as fo: +with open('task-arithmetic_events.json', 'w') as fo: json.dump(events_description, fo, sort_keys=True, indent=4) -with open('task-mask_bold.json', 'w') as fo: +with open('task-arithmetic_bold.json', 'w') as fo: json.dump(bold_description, fo, sort_keys=True, indent=4) diff --git a/bids/task-arithmetic_bold.json b/bids/task-arithmetic_bold.json new file mode 100644 index 0000000..bf3b6f3 --- /dev/null +++ b/bids/task-arithmetic_bold.json @@ -0,0 +1,4 @@ +{ + "CogAtlasID": "", + "TaskName": "arithmetic" +} diff --git a/bids/task-math_events.json b/bids/task-arithmetic_events.json similarity index 100% rename from bids/task-math_events.json rename to bids/task-arithmetic_events.json diff --git a/bids/task-mask_bold.json b/bids/task-mask_bold.json deleted file mode 100644 index 28ce778..0000000 --- a/bids/task-mask_bold.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "CogAtlasID": "", - "TaskName": "math" -} \ No newline at end of file