Skip to content

Commit

Permalink
Fix things up a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 28, 2024
1 parent f403b1d commit d04dec5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/fmripost_aroma/data/reports-spec-func.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ sections:
subtitle: Alignment of functional and anatomical MRI data (coregistration)
- bids:
datatype: figures
desc: '[aggr,nonaggr,orthaggr]carpetplot'
extension: [.html]
desc: '[aggr,nonaggr,orthaggr]Carpetplot'
extension: [.svg]
suffix: bold
- name: About
nested: true
Expand Down
4 changes: 2 additions & 2 deletions src/fmripost_aroma/data/reports-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ sections:
subtitle: Alignment of functional and anatomical MRI data (coregistration)
- bids:
datatype: figures
desc: '[aggr,nonaggr,orthaggr]carpetplot'
extension: [.html]
desc: '[aggr,nonaggr,orthaggr]Carpetplot'
extension: [.svg]
suffix: bold
- name: About
nested: true
Expand Down
5 changes: 4 additions & 1 deletion src/fmripost_aroma/tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ def test_init_denoise_wf(tmp_path_factory):
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')
wf = init_denoise_wf(
bold_file='sub-01_task-rest_bold.nii.gz',
metadata={'RepetitionTime': 2.0},
)
assert wf.name == 'denoise_task_rest_wf'
1 change: 1 addition & 0 deletions src/fmripost_aroma/workflows/aroma.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ def init_denoise_wf(bold_file, metadata):
(inputnode, carpetplot_wf, [
('bold_mask', 'inputnode.bold_mask'),
('confounds_file', 'inputnode.confounds_file'),
('skip_vols', 'inputnode.dummy_scans'),
]),
(ds_denoised, carpetplot_wf, [('out_file', 'inputnode.bold')]),
]) # fmt:skip
Expand Down

0 comments on commit d04dec5

Please sign in to comment.