Skip to content

Commit

Permalink
Revert maxwell changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Nov 6, 2023
1 parent d98e468 commit 3e3392c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
11 changes: 1 addition & 10 deletions neo/test/iotest/test_maxwellio.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

from neo.rawio.maxwellrawio import auto_install_maxwell_hdf5_compression_plugin

ON_GITHUB = bool(os.getenv('GITHUB_ACTIONS'))


class TestMaxwellIO(BaseTestIO, unittest.TestCase, ):
ioclass = MaxwellIO
Expand All @@ -20,14 +18,7 @@ class TestMaxwellIO(BaseTestIO, unittest.TestCase, ):
]

def setUp(self):
if ON_GITHUB:
# set a custom existing path for the hdf5 plugin
hdf5_plugin_path = '/home/runner/work/hdf5_plugin_path_maxwell'
os.environ['HDF5_PLUGIN_PATH'] = hdf5_plugin_path
else:
hdf5_plugin_path = None
auto_install_maxwell_hdf5_compression_plugin(hdf5_plugin_path=hdf5_plugin_path,
force_download=False)
auto_install_maxwell_hdf5_compression_plugin(force_download=False)
BaseTestIO.setUp(self)


Expand Down
10 changes: 1 addition & 9 deletions neo/test/rawiotest/test_maxwellrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
auto_install_maxwell_hdf5_compression_plugin)
from neo.test.rawiotest.common_rawio_test import BaseTestRawIO

ON_GITHUB = bool(os.getenv('GITHUB_ACTIONS'))

class TestMaxwellRawIO(BaseTestRawIO, unittest.TestCase, ):
rawioclass = MaxwellRawIO
Expand All @@ -18,14 +17,7 @@ class TestMaxwellRawIO(BaseTestRawIO, unittest.TestCase, ):
]

def setUp(self):
if ON_GITHUB:
# set a custom existing path for the hdf5 plugin
hdf5_plugin_path = '/home/runner/work/hdf5_plugin_path_maxwell'
os.environ['HDF5_PLUGIN_PATH'] = hdf5_plugin_path
else:
hdf5_plugin_path = None
auto_install_maxwell_hdf5_compression_plugin(hdf5_plugin_path=hdf5_plugin_path,
force_download=False)
auto_install_maxwell_hdf5_compression_plugin(force_download=False)
BaseTestRawIO.setUp(self)


Expand Down

0 comments on commit 3e3392c

Please sign in to comment.