Skip to content

Commit

Permalink
[RF] Smoothing (#404)
Browse files Browse the repository at this point in the history
- quick fix for bold workflow
  • Loading branch information
kahinimehta authored Aug 10, 2022
1 parent ca6fd99 commit 5a77480
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions xcp_d/workflow/bold.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,9 @@ def init_boldpostprocess_wf(lower_bpf,
workflow.connect([
(rm_dummytime, censor_scrub, [
('bold_file_dropped_TR', 'in_file'),
('fmriprep_confounds_file_dropped_TR', 'fmriprep_confounds_file')
('custom_confounds_dropped', 'custom_confounds')])])
('fmriprep_confounds_file_dropped_TR', 'fmriprep_confounds_file'),
('custom_confounds_dropped', 'custom_confounds')
])])

else: # No need to remove TR
# Censor Scrub:
Expand Down
4 changes: 2 additions & 2 deletions xcp_d/workflow/restingstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def init_compute_alff_wf(mem_gb,
smoothed_alff
smoothed alff output
tmask
temporal mask
temporal mask #TODO: Fix, this is inaccurate
"""

workflow = Workflow(name=name)
Expand Down Expand Up @@ -122,7 +122,7 @@ def init_compute_alff_wf(mem_gb,
""".format(kernelsize=str(smoothing))
smooth_data = pe.Node(Smooth(output_type='NIFTI_GZ',
fwhm=smoothing),
name="ciftismoothing",
name="ciftismoothing", #TODO: Rename to nifti smoothing
mem_gb=mem_gb,
n_procs=omp_nthreads)
workflow.connect([
Expand Down

0 comments on commit 5a77480

Please sign in to comment.