From e85c73f67ad83fe2029c4bb67943e70d57658bdb Mon Sep 17 00:00:00 2001 From: Sam Bray Date: Mon, 2 Oct 2023 15:01:32 -0700 Subject: [PATCH] Restrict selection of rec files to sample dataset --- src/spikegadgets_to_nwb/tests/test_convert_intervals.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spikegadgets_to_nwb/tests/test_convert_intervals.py b/src/spikegadgets_to_nwb/tests/test_convert_intervals.py index ee5b1c9..31d0bb3 100644 --- a/src/spikegadgets_to_nwb/tests/test_convert_intervals.py +++ b/src/spikegadgets_to_nwb/tests/test_convert_intervals.py @@ -29,6 +29,8 @@ def test_add_epochs(): # running locally file_info = get_file_info(Path(path)) rec_to_nwb_file = path + "/test_data/minirec20230622_.nwb" + file_info = file_info[file_info.animal == "sample"] + # assert file_info[file_info.file_extension == ".rec"].full_path.to_list() == [] # get all streams for all files rec_dci = RecFileDataChunkIterator( file_info[file_info.file_extension == ".rec"].full_path.to_list()