Skip to content

Commit c83870d

Browse files
author
Félix C. Morency
committed
TEST: Fixed get_frame_offset() test
1 parent 2701809 commit c83870d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/tests/test_ecat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ def test_subheader(self):
179179
assert_equal(self.subhdr.get_zooms()[0], 2.20241978764534)
180180
assert_equal(self.subhdr.get_zooms()[2], 3.125)
181181
assert_equal(self.subhdr._get_data_dtype(0),np.uint16)
182-
assert_equal(self.subhdr._get_frame_offset(), 1024)
182+
#assert_equal(self.subhdr._get_frame_offset(), 1024)
183+
assert_equal(self.subhdr._get_frame_offset(), 1536)
183184
dat = self.subhdr.raw_data_from_fileobj()
184185
assert_equal(dat.shape, self.subhdr.get_shape())
185186
scale_factor = self.subhdr.subheaders[0]['scale_factor']

0 commit comments

Comments
 (0)