From f0a44d3152d05ac2c8d4ea2ab3f6bc1fb37596f8 Mon Sep 17 00:00:00 2001 From: Constantinos Eleftheriou Date: Fri, 9 May 2025 11:07:47 +0100 Subject: [PATCH] fix correction trial bug --- src/visiomode/tasks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visiomode/tasks/__init__.py b/src/visiomode/tasks/__init__.py index 78a5191..c33c836 100644 --- a/src/visiomode/tasks/__init__.py +++ b/src/visiomode/tasks/__init__.py @@ -201,7 +201,7 @@ def trial_block(self): self.on_no_response() # Correction trials - if self.corrections_enabled and (outcome not in (NO_RESPONSE, INCORRECT)): + if self.corrections_enabled and (outcome in (NO_RESPONSE, INCORRECT)): self.correction_trial = True if self.corrections_enabled and self.correction_trial and (outcome == CORRECT): self.correction_trial = False