Skip to content

Commit

Permalink
Update test_base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Sep 4, 2024
1 parent 9fed90c commit 691cf39
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions src/fmripost_rapidtide/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,9 @@ def test_init_rapidtide_wf(tmp_path_factory):
wf = init_rapidtide_wf(
bold_file='sub-01_task-rest_bold.nii.gz',
metadata={'RepetitionTime': 2.0},
mem_gb={
'resampled': 1,
'largemem': 2,
},
)
assert wf.name == 'rapidtide_task_rest_wf'


def test_init_denoise_wf(tmp_path_factory):
from fmripost_rapidtide.workflows.rapidtide import init_denoise_wf

tempdir = tmp_path_factory.mktemp('test_init_denoise_wf')

with mock_config():
config.execution.output_dir = tempdir / 'out'
config.execution.work_dir = tempdir / 'work'

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

0 comments on commit 691cf39

Please sign in to comment.