Skip to content

Commit

Permalink
Update postprocessing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Nov 21, 2024
1 parent 0e07ef1 commit 86a27e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xcp_d/workflows/bold/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,10 @@ def init_prepare_confounds_wf(
(inputnode, remove_dummy_scans, [
('preprocessed_bold', 'bold_file'),
('dummy_scans', 'dummy_scans'),
]),
(process_motion, remove_dummy_scans, [
# *not* the filtered motion file, which has dummy volume columns removed
('motion_file', 'motion_file'),
('temporal_mask', 'temporal_mask'),
]),
(process_motion, remove_dummy_scans, [('temporal_mask', 'temporal_mask')]),
(remove_dummy_scans, dummy_scan_buffer, [
('bold_file_dropped_TR', 'preprocessed_bold'),
('confounds_tsv_dropped_TR', 'confounds_tsv'),
Expand Down

0 comments on commit 86a27e3

Please sign in to comment.