didnt save properly

This commit is contained in:
2026-02-04 17:24:52 +01:00
parent cd09ce1355
commit 2fb9924875
5 changed files with 7 additions and 4 deletions

View File

@@ -18,7 +18,6 @@ class CtbRawFile(_aare.CtbRawFile):
super().__init__(fname)
self._chunk_size = chunk_size
self._transform = transform
print("so far so good")
if self._transform:
if hasattr(self._transform, "compatibility") and callable(getattr(self._transform, "compatibility")):
self._transform.compatibility(self.master.reading_mode)

View File

@@ -44,6 +44,9 @@ def test_read_rawfile_with_multiple_rois(test_data_path):
assert frame[0].shape == (301, 101)
assert f.tell() == 2
assert headers.size == 10100
assert frames.shape == (10100, 256, 256)
@pytest.mark.withdata
def test_read_rawfile_quad_eiger_and_compare_to_numpy(test_data_path):
@@ -68,7 +71,6 @@ def test_read_rawfile_quad_eiger_and_compare_to_numpy(test_data_path):
assert (image == image1).all()
@pytest.mark.withdata
def test_read_rawfile_eiger_and_compare_to_numpy(test_data_path):
d0 = test_data_path/'raw/eiger/Lab6_20500eV_2deg_20240629_d0_f0_7.raw'