Skip to content

Commit 82fea98

Browse files
committed
feat: Pass desc to init_ds_registration_wf
1 parent ce062d6 commit 82fea98

File tree

8 files changed

+20
-16
lines changed

8 files changed

+20
-16
lines changed

.circleci/ds005_partial_fasttrack_outputs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ sub-01/func/sub-01_task-mixedgamblestask_run-02_desc-hmc_boldref.json
7676
sub-01/func/sub-01_task-mixedgamblestask_run-02_desc-hmc_boldref.nii.gz
7777
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
7878
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
79-
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_xfm.json
80-
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_xfm.txt
79+
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
80+
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
8181
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-orig_to-boldref_mode-image_desc-hmc_xfm.json
8282
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-orig_to-boldref_mode-image_desc-hmc_xfm.txt
8383
sub-01/func/sub-01_task-mixedgamblestask_run-02_hemi-L_space-fsaverage5_bold.func.gii

.circleci/ds005_partial_outputs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ sub-01/func/sub-01_task-mixedgamblestask_run-02_desc-coreg_boldref.json
9696
sub-01/func/sub-01_task-mixedgamblestask_run-02_desc-coreg_boldref.nii.gz
9797
sub-01/func/sub-01_task-mixedgamblestask_run-02_desc-hmc_boldref.json
9898
sub-01/func/sub-01_task-mixedgamblestask_run-02_desc-hmc_boldref.nii.gz
99-
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_xfm.json
100-
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_xfm.txt
99+
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
100+
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
101101
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
102102
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
103103
sub-01/func/sub-01_task-mixedgamblestask_run-02_from-orig_to-boldref_mode-image_desc-hmc_xfm.json

.circleci/ds054_fasttrack_outputs.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ sub-100185/func/sub-100185_task-machinegame_run-01_desc-hmc_boldref.json
3333
sub-100185/func/sub-100185_task-machinegame_run-01_desc-hmc_boldref.nii.gz
3434
sub-100185/func/sub-100185_task-machinegame_run-01_desc-preproc_bold.json
3535
sub-100185/func/sub-100185_task-machinegame_run-01_desc-preproc_bold.nii.gz
36-
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_xfm.json
37-
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_xfm.txt
36+
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
37+
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
3838
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
3939
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
4040
sub-100185/func/sub-100185_task-machinegame_run-01_from-orig_to-boldref_mode-image_desc-hmc_xfm.json
@@ -61,8 +61,8 @@ sub-100185/func/sub-100185_task-machinegame_run-02_desc-hmc_boldref.json
6161
sub-100185/func/sub-100185_task-machinegame_run-02_desc-hmc_boldref.nii.gz
6262
sub-100185/func/sub-100185_task-machinegame_run-02_desc-preproc_bold.json
6363
sub-100185/func/sub-100185_task-machinegame_run-02_desc-preproc_bold.nii.gz
64-
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_xfm.json
65-
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_xfm.txt
64+
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
65+
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
6666
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
6767
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
6868
sub-100185/func/sub-100185_task-machinegame_run-02_from-orig_to-boldref_mode-image_desc-hmc_xfm.json

.circleci/ds054_outputs.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ sub-100185/func/sub-100185_task-machinegame_run-01_desc-hmc_boldref.json
4343
sub-100185/func/sub-100185_task-machinegame_run-01_desc-hmc_boldref.nii.gz
4444
sub-100185/func/sub-100185_task-machinegame_run-01_desc-preproc_bold.json
4545
sub-100185/func/sub-100185_task-machinegame_run-01_desc-preproc_bold.nii.gz
46-
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_xfm.json
47-
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_xfm.txt
46+
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
47+
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
4848
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
4949
sub-100185/func/sub-100185_task-machinegame_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
5050
sub-100185/func/sub-100185_task-machinegame_run-01_from-orig_to-boldref_mode-image_desc-hmc_xfm.json
@@ -71,8 +71,8 @@ sub-100185/func/sub-100185_task-machinegame_run-02_desc-hmc_boldref.json
7171
sub-100185/func/sub-100185_task-machinegame_run-02_desc-hmc_boldref.nii.gz
7272
sub-100185/func/sub-100185_task-machinegame_run-02_desc-preproc_bold.json
7373
sub-100185/func/sub-100185_task-machinegame_run-02_desc-preproc_bold.nii.gz
74-
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_xfm.json
75-
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_xfm.txt
74+
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
75+
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
7676
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
7777
sub-100185/func/sub-100185_task-machinegame_run-02_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
7878
sub-100185/func/sub-100185_task-machinegame_run-02_from-orig_to-boldref_mode-image_desc-hmc_xfm.json

.circleci/ds210_fasttrack_outputs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ sub-02/func/sub-02_task-cuedSGT_run-01_echo-2_desc-preproc_bold.json
3636
sub-02/func/sub-02_task-cuedSGT_run-01_echo-2_desc-preproc_bold.nii.gz
3737
sub-02/func/sub-02_task-cuedSGT_run-01_echo-3_desc-preproc_bold.json
3838
sub-02/func/sub-02_task-cuedSGT_run-01_echo-3_desc-preproc_bold.nii.gz
39-
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_xfm.json
40-
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_xfm.txt
39+
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
40+
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
4141
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
4242
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
4343
sub-02/func/sub-02_task-cuedSGT_run-01_from-orig_to-boldref_mode-image_desc-hmc_xfm.json

.circleci/ds210_outputs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ sub-02/func/sub-02_task-cuedSGT_run-01_echo-2_desc-preproc_bold.json
4646
sub-02/func/sub-02_task-cuedSGT_run-01_echo-2_desc-preproc_bold.nii.gz
4747
sub-02/func/sub-02_task-cuedSGT_run-01_echo-3_desc-preproc_bold.json
4848
sub-02/func/sub-02_task-cuedSGT_run-01_echo-3_desc-preproc_bold.nii.gz
49-
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_xfm.json
50-
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_xfm.txt
49+
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.json
50+
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-auto00000_mode-image_desc-fmap_xfm.txt
5151
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.json
5252
sub-02/func/sub-02_task-cuedSGT_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
5353
sub-02/func/sub-02_task-cuedSGT_run-01_from-orig_to-boldref_mode-image_desc-hmc_xfm.json

fmriprep/workflows/bold/fit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ def init_bold_fit_wf(
520520
output_dir=config.execution.fmriprep_dir,
521521
source='boldref',
522522
dest=re.sub(r'[^a-zA-Z0-9]', '', fieldmap_id),
523+
desc='fmap',
523524
name='ds_fmapreg_wf',
524525
)
525526

@@ -682,6 +683,7 @@ def init_bold_fit_wf(
682683
output_dir=config.execution.fmriprep_dir,
683684
source='boldref',
684685
dest='T1w',
686+
desc='coreg',
685687
name='ds_boldreg_wf',
686688
)
687689

fmriprep/workflows/bold/outputs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ def init_ds_registration_wf(
538538
source: str,
539539
dest: str,
540540
name: str,
541+
desc: str | None = None,
541542
) -> pe.Workflow:
542543
workflow = pe.Workflow(name=name)
543544

@@ -561,6 +562,7 @@ def init_ds_registration_wf(
561562
source_file=source_file,
562563
base_directory=output_dir,
563564
mode='image',
565+
desc=desc,
564566
suffix='xfm',
565567
extension='.txt',
566568
dismiss_entities=dismiss_echo(['part']),

0 commit comments

Comments
 (0)