Skip to content

Commit

Permalink
Merge pull request #284 from JohnGriffiths/expt_testscript
Browse files Browse the repository at this point in the history
create minimal test script for eeg-expy experiments
  • Loading branch information
JohnGriffiths authored Dec 5, 2024
2 parents 06b1843 + e0daff7 commit 192e347
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/test_run_experiments.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
"""
Test script for the primary eeg-expy supported experiments
This does a minimal import and run of several experiments
It is not directly part of the CI test suite, but should be
checked regularly manually across as many OS setups as possible.
"""

#from eegnb.experiments import VisualN170, VisualP300, VisualSSVEP, AuditoryOddball

from eegnb.experiments.visual_n170.n170 import VisualN170
expt = VisualN170(duration=10)
expt.run()

from eegnb.experiments.visual_ssvep.ssvep import VisualSSVEP
expt = VisualSSVEP(duration=10)
expt.run()

from eegnb.experiments.visual_p300.p300 import VisualP300
expt = VisualP300(duration=10)
expt.run()


0 comments on commit 192e347

Please sign in to comment.