diff --git a/nireports/assembler/__init__.py b/nireports/assembler/__init__.py index a51934cd..e69de29b 100644 --- a/nireports/assembler/__init__.py +++ b/nireports/assembler/__init__.py @@ -1,3 +0,0 @@ -""" -Aggregate reports into an HTML document. -""" diff --git a/nireports/assembler/data/default.yml b/nireports/assembler/data/default.yml index 653b7338..e7c3d686 100644 --- a/nireports/assembler/data/default.yml +++ b/nireports/assembler/data/default.yml @@ -1,4 +1,4 @@ -package: nireports +packagename: nireports sections: - name: Summary reportlets: @@ -173,5 +173,37 @@ sections: in green; noise components in red. subtitle: ICA Components classified by AROMA - name: About + nested: true reportlets: - - bids: {datatype: figures, desc: about, suffix: T1w} + - custom: boilerplate + path: '{reportlets_dir}/sub-{subject_id}/' + bibfile: ['nireports.assembler', 'data/tests/boilerplate.bib'] + caption: We kindly ask to report results preprocessed with this tool using the following boilerplate. + title: Methods + - custom: errors + path: '{reportlets_dir}/sub-{subject_id}/log/{run_uuid}' + captions: NiReports may have recorded failure conditions. + title: Errors + - metadata: + Execution provenance: + NiReports version: '23.0.1' + NiReports command: | + /opt/conda/bin/fmriprep /data /out participant --sloppy --write-graph + --mem-mb 14336 --nthreads 4 -vv --anat-derivatives /opt/smriprep/subjects + -w /scratch --output-spaces fsaverage5 + Date processed: '2023-03-12 03:15:45 +0000' + Dataset information: + Dataset name: 'Test example' + Participant ID: '00017' + Split Nested_key1: value1 + Split Nested_key2: value1 + settings: + # By default, only the first dictionary will be expanded. + # If folded is true, all will be folded. If false all expanded. + folded: true + # If an ID is not provided, one should be generated automatically + id: 'about-metadata' + caption: | + Thanks for using NiReports. The following information may assist in + reconstructing the provenance of the corresponding derivatives. + title: Reproducibility and provenance information diff --git a/nireports/assembler/data/report.tpl b/nireports/assembler/data/report.tpl index c5a81171..76b827cc 100644 --- a/nireports/assembler/data/report.tpl +++ b/nireports/assembler/data/report.tpl @@ -5,9 +5,8 @@ - - + + + + + - -