Skip to content

Commit 6d0496c

Browse files
committed
bug fix on exclude_filenames
1 parent 0001e9e commit 6d0496c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/test/iotest/test_neuralynxio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def test_exclude_filenames(self):
202202

203203
# exclude all ncs files from session
204204
exclude_files = [f"CSC{i}.ncs" for i in range(6)]
205-
nio = NeuralynxIO(dirname=dname, exclude_filename=exclude_files, use_cache=False)
205+
nio = NeuralynxIO(dirname=dname, exclude_filenames=exclude_files, use_cache=False)
206206
block = nio.read_block()
207207
self.assertTrue(len(block.segments[0].analogsignals) == 0)
208208
self.assertTrue((len(block.segments[0].spiketrains)) >= 0)

0 commit comments

Comments
 (0)