From ce69ecdd763ca04bdf8d795683237869533ea2a9 Mon Sep 17 00:00:00 2001 From: pauladkisson Date: Thu, 14 Sep 2023 17:05:06 -0700 Subject: [PATCH] Check that ScanImageReader works in CI tests --- tests/test_scan_image_tiff.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_scan_image_tiff.py b/tests/test_scan_image_tiff.py index 0e577105..7f2262e6 100644 --- a/tests/test_scan_image_tiff.py +++ b/tests/test_scan_image_tiff.py @@ -17,9 +17,11 @@ class TestScanImageTiffExtractor(TestCase): def setUpClass(cls): cls.file_path = OPHYS_DATA_PATH / "imaging_datasets" / "Tif" / "sample_scanimage.tiff" cls.tmpdir = Path(mkdtemp()) - with ScanImageTiffReader(filename=str(cls.imaging_extractor.file_path)) as io: + with ScanImageTiffReader(filename=str(cls.file_path)) as io: cls.data = io.data() cls.imaging_extractor = ScanImageTiffImagingExtractor(file_path=cls.file_path) + with ScanImageTiffReader(filename=str(cls.imaging_extractor.file_path)) as io: + cls.data = io.data() @classmethod def tearDownClass(cls):