Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed May 10, 2024
1 parent b403212 commit f1ecb29
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/fmripost_aroma/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,15 @@
def test_init_ica_aroma_wf():
from fmripost_aroma.workflows.aroma import init_ica_aroma_wf

wf = init_ica_aroma_wf(subject_id='01')
assert wf.name == 'sub_01_wf'
wf = init_ica_aroma_wf(
bold_file='sub-01_task-rest_bold.nii.gz',
metadata={'RepetitionTime': 2.0},
)
assert wf.name == 'aroma_task_rest_wf'


def test_init_denoise_wf():
from fmripost_aroma.workflows.aroma import init_denoise_wf

wf = init_denoise_wf(bold_file='sub-01_task-rest_bold.nii.gz')
assert wf.name == 'denoise_task_rest_wf'

0 comments on commit f1ecb29

Please sign in to comment.