Skip to content

Commit

Permalink
reformat test_signal_extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorabi59 committed Jun 1, 2023
1 parent 3805c55 commit 8f2514e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nilearn/regions/tests/test_signal_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,10 @@ def test_signal_extraction_with_maps_and_labels(labeled_regions, fmri_img):
# not keeping the masked labels

labels_signals, labels_labels = img_to_signals_labels(
imgs=fmri_img, labels_img=labeled_regions, mask_img=mask_img,
keep_masked_labels=False
imgs=fmri_img,
labels_img=labeled_regions,
mask_img=mask_img,
keep_masked_labels=False,
)
# only 3 regions must be kept, others must be removed
assert labels_signals.shape == (N_TIMEPOINTS, 3)
Expand Down

0 comments on commit 8f2514e

Please sign in to comment.