Skip to content

Commit

Permalink
Refactor test_hyperalignment.py to include decomposition and searchli…
Browse files Browse the repository at this point in the history
…ght input
  • Loading branch information
FOUCHARD Denis committed Feb 26, 2024
1 parent a70b4a8 commit 1711823
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fmralign/hyperalignment/test_hyperalignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@


def test_int_fit_predict():
"""Test if the outputs and arguments of the INT are the correct format"""
"""Test if the outputs and arguments of the INT are the correct format,
and if decomposition is working"""
# Create random data
X_train, X_test, S_true_first_part, S_true_second_part, _ = generate_dummy_signal(
n_subjects=7,
Expand Down Expand Up @@ -69,6 +70,8 @@ def test_int_fit_predict():


def test_int_with_searchlight():
"""Test if the outputs and arguments of the INT are the correct format and
if the decomposition is working, with searchlight input"""
X_train, X_test, stimulus_train, stimulus_test, _ = generate_dummy_signal(
n_subjects=5,
n_timepoints=50,
Expand Down

0 comments on commit 1711823

Please sign in to comment.