diff --git a/fmralign/alignment_methods.py b/fmralign/alignment_methods.py index e8701f23..34d123fb 100644 --- a/fmralign/alignment_methods.py +++ b/fmralign/alignment_methods.py @@ -643,10 +643,7 @@ def fit( self.radius = radius denoiser = PiecewiseAlignment( - alignment_method=self.alignment_method, - n_jobs=self.n_jobs, - verbose=verbose, - path=self.path, + alignment_method=self.alignment_method, n_jobs=self.n_jobs, verbose=verbose ) self.denoised_signal = denoiser.fit_transform( X_train_, diff --git a/fmralign/tests/test_alignment_methods.py b/fmralign/tests/test_alignment_methods.py index 2d186544..1e936b92 100644 --- a/fmralign/tests/test_alignment_methods.py +++ b/fmralign/tests/test_alignment_methods.py @@ -236,7 +236,7 @@ def test_searchlight_alignment_with_ridge(): ) model = INT(n_jobs=5) - model.fit(X_train, searchlights, dists, radius=radius) + model.fit(X_train, searchlights=searchlights, dists=dists, radius=radius) X_pred = model.transform(X_test) assert X_pred.shape == X_test.shape