diff options
author | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2023-10-01 17:05:22 +0200 |
---|---|---|
committer | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2023-10-01 17:05:22 +0200 |
commit | 7dfddb6214e73c49864edddadea9a7d37a2f0ab0 (patch) | |
tree | b3d0b9b83c46a79bfc75c9d86b9bca7c69e17b8e /master_thesis/frensch_task.py | |
parent | 24a94cb22ed6089264137ac3389fd4e5ba5c5dfc (diff) |
fix saving procedure order
Diffstat (limited to 'master_thesis/frensch_task.py')
-rw-r--r-- | master_thesis/frensch_task.py | 3 |
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() |