Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
ENH: Remove unused parameter from method prototype
Browse files Browse the repository at this point in the history
Remove unused parameter from method prototype: PET images do not have a
`b0` image.
  • Loading branch information
jhlegarreta committed Mar 15, 2024
1 parent bfb8fcc commit 2b2c49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eddymotion/data/pet.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def to_filename(self, filename, compression=None, compression_opts=None):
compression_opts=compression_opts,
)

def to_nifti(self, filename, insert_b0=False):
def to_nifti(self, filename):
"""Write a NIfTI 1.0 file to disk."""
nii = nb.Nifti1Image(self.dataobj, self.affine, None)
nii.header.set_xyzt_units("mm")
Expand Down

0 comments on commit 2b2c49b

Please sign in to comment.