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.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. import unittest
  8. from neo.io import BrainVisionIO
  9. from neo.test.iotest.common_io_test import BaseTestIO
  10. class TestBrainVisionIO(BaseTestIO, unittest.TestCase, ):
  11. ioclass = BrainVisionIO
  12. files_to_test = ['File_brainvision_1.vhdr',
  13. 'File_brainvision_2.vhdr',
  14. 'File_brainvision_3_float32.vhdr',
  15. 'File_brainvision_3_int16.vhdr',
  16. 'File_brainvision_3_int32.vhdr',
  17. ]
  18. files_to_download = ['File_brainvision_1.eeg',
  19. 'File_brainvision_1.vhdr',
  20. 'File_brainvision_1.vmrk',
  21. 'File_brainvision_2.eeg',
  22. 'File_brainvision_2.vhdr',
  23. 'File_brainvision_2.vmrk',
  24. 'File_brainvision_3_float32.eeg',
  25. 'File_brainvision_3_float32.vhdr',
  26. 'File_brainvision_3_float32.vmrk',
  27. 'File_brainvision_3_int16.eeg',
  28. 'File_brainvision_3_int16.vhdr',
  29. 'File_brainvision_3_int16.vmrk',
  30. 'File_brainvision_3_int32.eeg',
  31. 'File_brainvision_3_int32.vhdr',
  32. 'File_brainvision_3_int32.vmrk',
  33. ]
  34. if __name__ == "__main__":
  35. unittest.main()