Skip to content

Commit

Permalink
fix(sordino) bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dvm-shlee committed May 2, 2024
1 parent 75bd476 commit 5879c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/sordino/sordino.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_nifti1header(self) -> Nifti1Header:
warnings.simplefilter("ignore")
header = super().get_nifti1header(self)
if self.scale_mode == 'header':
header.set_slope_inter(*self._calc_slope_inter())
header.set_slope_inter(slope=self.slope, inter=self.inter)
return header

def _calc_slope_inter(self, dataobj: np.ndarray) -> None:
Expand Down

0 comments on commit 5879c71

Please sign in to comment.