diff --git a/nibabel/ecat.py b/nibabel/ecat.py index 34ff06323..c4b55624f 100644 --- a/nibabel/ecat.py +++ b/nibabel/ecat.py @@ -957,7 +957,7 @@ def to_file_map(self, file_map=None): hdr.write_to(hdrf) # Write every frames - for index in range(0, self.header['num_frames']): + for index in range(self.header['num_frames']): # Move to subheader offset frame_offset = subheaders._get_frame_offset(index) - 512 imgf.seek(frame_offset)