Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use get_tmaps=True if tmaps aren't used #4136

Merged
merged 10 commits into from
Dec 11, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
data = fetch_localizer_contrasts(
["left vs right button press"],
n_subjects,
get_tmaps=True,
legacy_format=False,
legacy_format=False
crossmanith marked this conversation as resolved.
Show resolved Hide resolved
)
# %%
# Estimate second level model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@
# localizer dataset.
n_subjects = 16
sample_vertical = fetch_localizer_contrasts(
["vertical checkerboard"], n_subjects, get_tmaps=True, legacy_format=False
["vertical checkerboard"],
n_subjects,
legacy_format=False
crossmanith marked this conversation as resolved.
Show resolved Hide resolved
)
sample_horizontal = fetch_localizer_contrasts(
["horizontal checkerboard"],
n_subjects,
get_tmaps=True,
legacy_format=False,
legacy_format=False
crossmanith marked this conversation as resolved.
Show resolved Hide resolved
)

# Implicitly, there is a one-to-one correspondence between the two samples:
Expand Down