Skip to content

Conversation

@pellet
Copy link
Owner

@pellet pellet commented Nov 30, 2025

  • Added stereoscopic VR rendering (stereoscopic parameter) with positional eye rendering.
  • Introduced trial loop method _run_trial_loop to simplify run and make it accessible to inheriting classes.
  • Fixed methods to use correct convention for being accessible by inheriting classes.
  • Added methods for inter-trial interval visualization (present_iti) and post-trial clean-up.
  • Modified variable intialization so that the defaults can be overriden before calling run().

The setup() method was incorrectly returning early when instructions
were shown (line 128), preventing the rest of the setup code from
executing. This meant the EEG initialization and other setup steps
were skipped when instructions=True.

Changed line 128 from 'return self.show_instructions()' to
'self.show_instructions()' to allow setup to complete properly.
The previous fix was incomplete. show_instructions() returns False
when the user cancels and True when they proceed. The setup() method
should return False if the user cancels, but continue with the rest
of the setup if they proceed.

Changed to check the return value and only return early if False.
@pellet pellet changed the base branch from master to dev/rendering_improvements November 30, 2025 09:22
@pellet pellet merged commit 2714afd into dev/rendering_improvements Nov 30, 2025
5 of 6 checks passed
@pellet pellet deleted the claude/fix-experiment-return-bug-01QNHoTagHvdXzP3wiSDAWdY branch November 30, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants