Skip to content

Commit

Permalink
STY: Apply ruff/flake8-pyi rule PIE808
Browse files Browse the repository at this point in the history
PIE808 Unnecessary `start` argument in `range`
  • Loading branch information
DimitriPapadopoulos committed Sep 22, 2024
1 parent a701b80 commit 1c7f83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nibabel/ecat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c7f83f

Please sign in to comment.