Skip to content

Commit

Permalink
Check that ScanImageReader works in CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pauladkisson committed Sep 15, 2023
1 parent 53634a0 commit ce69ecd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_scan_image_tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ce69ecd

Please sign in to comment.