File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 28
28
\t <ul class="elem-desc">
29
29
\t \t <li>Subject ID: {subject_id}</li>
30
30
\t \t <li>Session ID: {session_id}</li>
31
+ \t \t <li>Chronological age (months): {age}</li>
31
32
\t \t <li>Structural images: {num_t1w} T1-weighted, {num_t2w} T2-weighted</li>
32
33
\t \t <li>Anatomical reference space: {anat_ref}<li>
33
34
\t \t <li>Functional series: {n_bold:d}</li>
@@ -104,6 +105,7 @@ class SubjectSummaryInputSpec(BaseInterfaceInputSpec):
104
105
'mcribs' ,
105
106
desc = 'surface reconstruction method' ,
106
107
)
108
+ age = traits .Int (desc = 'Chronological age in months at the time of session' )
107
109
108
110
109
111
class SubjectSummaryOutputSpec (SummaryOutputSpec ):
@@ -204,6 +206,7 @@ def _generate_segment(self):
204
206
return SUBJECT_TEMPLATE .format (
205
207
subject_id = self .inputs .subject_id ,
206
208
session_id = self .inputs .session_id ,
209
+ age = self .inputs .age ,
207
210
num_t1w = num_t1w ,
208
211
num_t2w = num_t2w ,
209
212
anat_ref = self .inputs .anatomical_reference ,
Original file line number Diff line number Diff line change @@ -381,6 +381,7 @@ def init_single_subject_wf(
381
381
recon_method = recon_method ,
382
382
std_spaces = spaces .get_spaces (nonstandard = False ),
383
383
nstd_spaces = spaces .get_spaces (standard = False ),
384
+ age = age ,
384
385
),
385
386
name = 'summary' ,
386
387
run_without_submitting = True ,
You can’t perform that action at this time.
0 commit comments