diff --git a/eegnb/experiments/BlockExperiment.py b/eegnb/experiments/BlockExperiment.py index ae4e4825..88c316b4 100644 --- a/eegnb/experiments/BlockExperiment.py +++ b/eegnb/experiments/BlockExperiment.py @@ -22,7 +22,7 @@ class BlockExperiment(BaseExperiment, ABC): """ def __init__(self, exp_name, block_duration, eeg, save_fn, block_trial_size, n_blocks, iti: float, soa: float, jitter: float, - use_vr=False, use_fullscr=True, stereoscopic=False): + use_vr=False, use_fullscr=True, screen_num=0, stereoscopic=False, devices = list): """ Initializer for the BlockExperiment Class Args: @@ -43,7 +43,7 @@ def __init__(self, exp_name, block_duration, eeg, save_fn, block_trial_size, n_b # Initialize BaseExperiment with total trials # Pass None for duration if block_duration is None to ignore time spent in instructions - super().__init__(exp_name, block_duration, eeg, save_fn, total_trials, iti, soa, jitter, use_vr, use_fullscr, stereoscopic) + super().__init__(exp_name, block_duration, eeg, save_fn, total_trials, iti, soa, jitter, use_vr, use_fullscr, screen_num, stereoscopic, devices) # Block-specific parameters self.block_duration = block_duration diff --git a/environments/eeg-expy-full.yml b/environments/eeg-expy-full.yml index cd222a25..1c24c26b 100644 --- a/environments/eeg-expy-full.yml +++ b/environments/eeg-expy-full.yml @@ -3,7 +3,7 @@ channels: - defaults dependencies: # System-level dependencies - - python>=3.10,<3.12 # psychopy 2026.x requires py3.10; <3.12 allows latest 3.11.x patch builds + - python>=3.10,<3.12 # psychopy 2026.x requires py3.10; higher versions for experimental builds - setuptools - dukpy==0.2.3 # psychopy dependency, avoid failing due to building wheel on win 3.9. - numpy # fix PsychXR numpy dependency DLL issues on Windows diff --git a/requirements.txt b/requirements.txt index bfa2887a..772bb514 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,9 +3,7 @@ scikit-learn>=0.23.2 pandas>=1.1.4 -# psychxr build pinned to this version of numpy. -numpy>=1.26,<1.27; python_version >= "3.9" -numpy<=1.24.4; python_version == "3.8" +numpy>=1.26.0 mne>=0.20.8 seaborn>=0.11.0 pyriemann>=0.2.7 @@ -60,9 +58,7 @@ ffpyplayer==4.5.2 # 4.5.3 fails to build as wheel. psychtoolbox scikit-learn>=0.23.2 pandas>=1.1.4 -# psychxr build pinned to this version of numpy. -numpy>=1.26,<1.27; python_version >= "3.9" -numpy==1.24.4; python_version == "3.8" +numpy>=1.26.0 mne>=0.20.8 seaborn>=0.11.0 pysocks>=1.7.1