Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Fouchard committed Jan 5, 2024
1 parent 9cb5e50 commit f6a3950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions fmralign/alignment_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_,
Expand Down
2 changes: 1 addition & 1 deletion fmralign/tests/test_alignment_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f6a3950

Please sign in to comment.