mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-20 04:18:40 +01:00
didnt save properly
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -10,8 +10,8 @@ def test_read_rawfile_with_roi(test_data_path):
|
||||
headers, frames = f.read()
|
||||
|
||||
assert headers.size == 10100
|
||||
assert frames.shape == (10100, 256, 256)
|
||||
|
||||
assert frames.shape == (10100, 256, 256)
|
||||
|
||||
@pytest.mark.withdata
|
||||
def test_read_rawfile_quad_eiger_and_compare_to_numpy(test_data_path):
|
||||
|
||||
@@ -36,7 +36,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'
|
||||
|
||||
Reference in New Issue
Block a user