Skip to content

Commit 19d5579

Browse files
committed
fix maxwell
1 parent 66001f4 commit 19d5579

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

neo/test/rawiotest/common_rawio_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class BaseTestRawIO:
5252
rawioclass = None # the IOclass to be tested
5353

5454
entities_to_test = [] # list of files to test compliances
55-
entities_to_download = [] # when files are at gin
55+
entities_to_download = [] # when files a re at gin
5656

5757
# allow environment to tell avoid using network
5858
use_network = can_use_network()

neo/test/rawiotest/test_maxwellrawio.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
import unittest
2-
import os
32

43
from neo.rawio.maxwellrawio import MaxwellRawIO, auto_install_maxwell_hdf5_compression_plugin
54
from neo.test.rawiotest.common_rawio_test import BaseTestRawIO
65

6+
from neo.utils.datasets import download_dataset, default_testing_repo
7+
8+
try:
9+
import datalad
10+
11+
HAVE_DATALAD = True
12+
except:
13+
HAVE_DATALAD = False
14+
15+
# url_for_tests = "https://portal.g-node.org/neo/" #This is the old place
16+
repo_for_test = default_testing_repo
717

818
class TestMaxwellRawIO(
919
BaseTestRawIO,
1020
unittest.TestCase,
1121
):
12-
rawioclass = MaxwellRawIO
13-
entities_to_download = ["maxwell"]
14-
entities_to_test = files_to_test = [
15-
"maxwell/MaxOne_data/Record/000011/data.raw.h5",
16-
"maxwell/MaxTwo_data/Network/000028/data.raw.h5",
17-
]
1822

1923
def setUp(self):
2024
auto_install_maxwell_hdf5_compression_plugin(force_download=False)
21-
BaseTestRawIO.setUp(self)
2225

2326

2427
if __name__ == "__main__":

0 commit comments

Comments
 (0)