-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed auditory oddball experiment to run on macos for intel, arm is n…
…ot yet supported.
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
from .visual_n170.n170 import VisualN170 | ||
from .visual_p300.p300 import VisualP300 | ||
from .visual_ssvep.ssvep import VisualSSVEP | ||
from .auditory_oddball.aob import AuditoryOddball | ||
|
||
# PTB does not yet support macOS Apple Silicon, | ||
# this experiment needs to run as i386 if on macOS. | ||
import sys | ||
import platform | ||
if sys.platform != 'darwin' or platform.processor() != 'arm': | ||
from .auditory_oddball.aob import AuditoryOddball |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters