File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,8 @@ def test_include_filenames(self):
129129
130130 # test one single electrode channel
131131 fname = self .get_local_path ("neuralynx/Cheetah_v5.5.1/original_data/STet3a.nse" )
132- rawio = NeuralynxRawIO (include_filenames = fname )
132+ dirname , filename = os .path .split (fname )
133+ rawio = NeuralynxRawIO (dirname = dirname , include_filenames = filename )
133134 rawio .parse_header ()
134135
135136 self .assertEqual (rawio ._nb_segment , 1 )
@@ -377,10 +378,10 @@ def test_equality(self):
377378if __name__ == "__main__" :
378379 unittest .main ()
379380
380- # test = TestNeuralynxRawIO()
381+ test = TestNeuralynxRawIO ()
381382 # test.test_scan_ncs_files()
382383 # test.test_exclude_filenames()
383- # test.test_include_filenames()
384+ test .test_include_filenames ()
384385
385386 # test = TestNcsSectionsFactory()
386387 # test.test_ncsblocks_partial()
You can’t perform that action at this time.
0 commit comments