From d8065eab3b43fbb8cebe0a308ce0e8d47d25f7ca Mon Sep 17 00:00:00 2001 From: lawhead Date: Thu, 24 Oct 2024 10:37:53 -0700 Subject: [PATCH] Preview Copy Phrase on the Matrix wait screen --- bcipy/display/paradigm/matrix/display.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bcipy/display/paradigm/matrix/display.py b/bcipy/display/paradigm/matrix/display.py index b22f081b..f05f2b3e 100644 --- a/bcipy/display/paradigm/matrix/display.py +++ b/bcipy/display/paradigm/matrix/display.py @@ -12,7 +12,7 @@ from bcipy.display.main import PreviewParams, init_preview_button_handler from bcipy.display.paradigm.matrix.layout import symbol_positions from bcipy.helpers.stimuli import resize_image -from bcipy.helpers.symbols import alphabet, qwerty_order, frequency_order +from bcipy.helpers.symbols import alphabet, frequency_order, qwerty_order from bcipy.helpers.triggers import _calibration_trigger logger = logging.getLogger(SESSION_LOG_FILENAME) @@ -378,6 +378,7 @@ def wait_screen(self, message: str, message_color: str) -> None: Define what happens on the screen when a user pauses a session. """ + self.draw_components() # Construct the wait message wait_message = visual.TextStim(win=self.window, @@ -399,7 +400,7 @@ def wait_screen(self, message: str, message_color: str) -> None: wait_logo.draw() except Exception as e: - self.logger.exception( + logger.exception( f'Cannot load logo image from path=[{BCIPY_LOGO_PATH}]') raise e