From ac36bf5ce5e7067bf3e964a0e18e69a024551a29 Mon Sep 17 00:00:00 2001 From: Andrew Herzing Date: Wed, 10 Apr 2024 11:29:49 -0400 Subject: [PATCH] Fixed test_io.py::test_load_serialem filename --- tomotools/tests/test_io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tomotools/tests/test_io.py b/tomotools/tests/test_io.py index 2f39e49c..416d06ce 100644 --- a/tomotools/tests/test_io.py +++ b/tomotools/tests/test_io.py @@ -220,8 +220,8 @@ def test_load_serialem_series(self): def test_load_serialem(self): dirname = os.path.join(tomotools_path, "tests", "test_data", "SerialEM_Multiframe_Test") - file = glob.glob(dirname + "/*.mrc")[0] - stack = tomotools.load(file) + # file = glob.glob(dirname + "/*.mrc")[0] + stack = tomotools.load(dirname + "/test_000.mrc") assert stack.axes_manager.signal_shape == (1024, 1024) assert stack.axes_manager.navigation_shape == (2,) assert stack.metadata.has_item('Tomography')