Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

test_brainvisionio.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.brainvisionio
  4. """
  5. # needed for python 3 compatibility
  6. from __future__ import absolute_import, division
  7. try:
  8. import unittest2 as unittest
  9. except ImportError:
  10. import unittest
  11. from neo.io import BrainVisionIO
  12. from neo.test.iotest.common_io_test import BaseTestIO
  13. class TestBrainVisionIO(BaseTestIO, unittest.TestCase, ):
  14. ioclass = BrainVisionIO
  15. files_to_test = ['File_brainvision_1.vhdr',
  16. 'File_brainvision_2.vhdr',
  17. 'File_brainvision_3_float32.vhdr',
  18. 'File_brainvision_3_int16.vhdr',
  19. 'File_brainvision_3_int32.vhdr',
  20. ]
  21. files_to_download = ['File_brainvision_1.eeg',
  22. 'File_brainvision_1.vhdr',
  23. 'File_brainvision_1.vmrk',
  24. 'File_brainvision_2.eeg',
  25. 'File_brainvision_2.vhdr',
  26. 'File_brainvision_2.vmrk',
  27. 'File_brainvision_3_float32.eeg',
  28. 'File_brainvision_3_float32.vhdr',
  29. 'File_brainvision_3_float32.vmrk',
  30. 'File_brainvision_3_int16.eeg',
  31. 'File_brainvision_3_int16.vhdr',
  32. 'File_brainvision_3_int16.vmrk',
  33. 'File_brainvision_3_int32.eeg',
  34. 'File_brainvision_3_int32.vhdr',
  35. 'File_brainvision_3_int32.vmrk',
  36. ]
  37. if __name__ == "__main__":
  38. unittest.main()