summaryrefslogtreecommitdiff
path: root/master_thesis/frensch_task.py
diff options
context:
space:
mode:
Diffstat (limited to 'master_thesis/frensch_task.py')
-rw-r--r--master_thesis/frensch_task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/master_thesis/frensch_task.py b/master_thesis/frensch_task.py
index 7617e9d..b680ccd 100644
--- a/master_thesis/frensch_task.py
+++ b/master_thesis/frensch_task.py
@@ -185,7 +185,7 @@ def run_trial(water_sample, procedure_keys: list, condition):
# event.waitKeys(keyList=["space"])
- return answers, procedure_keys
+ return tuple(answers), tuple(procedure_keys)
pause = visual.TextBox2(
@@ -256,6 +256,7 @@ for i in range(TEST_TRIALS):
answer, procedure_keys = run_trial(
all_samples[TRAIN_TRIALS + i], train_procedures, ORDER_CONDITIONS[0]
)
+ print(procedure_keys)
answer_dict = {}
answer_dict["procedure_order"] = procedure_keys
answer_dict["water_sample"] = all_samples[TRAIN_TRIALS + i].water_sample_dict()