Skip to content

Commit 4032c67

Browse files
committed
ENH: Add T2star reporting wf
1 parent 632ccca commit 4032c67

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

nibabies/workflows/bold/base.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
init_bold_surf_wf,
7070
)
7171
from .stc import init_bold_stc_wf
72-
from .t2s import init_bold_t2s_wf
72+
from .t2s import init_bold_t2s_wf, init_t2s_reporting_wf
7373

7474

7575
def init_func_preproc_wf(bold_file, has_fieldmap=False, existing_derivatives=None):
@@ -555,6 +555,28 @@ def init_func_preproc_wf(bold_file, has_fieldmap=False, existing_derivatives=Non
555555
name="bold_t2smap_wf",
556556
)
557557

558+
t2s_reporting_wf = init_t2s_reporting_wf()
559+
560+
ds_report_t2scomp = pe.Node(
561+
DerivativesDataSink(
562+
desc="t2scomp",
563+
datatype="figures",
564+
dismiss_entities=("echo",),
565+
),
566+
name="ds_report_t2scomp",
567+
run_without_submitting=True,
568+
)
569+
570+
ds_report_t2star_hist = pe.Node(
571+
DerivativesDataSink(
572+
desc="t2starhist",
573+
datatype="figures",
574+
dismiss_entities=("echo",),
575+
),
576+
name="ds_report_t2star_hist",
577+
run_without_submitting=True,
578+
)
579+
558580
bold_final = pe.Node(
559581
niu.IdentityInterface(fields=["bold", "boldref", "mask", "bold_echos", "t2star"]),
560582
name="bold_final",

0 commit comments

Comments
 (0)