Skip to content

Commit 6d86c0b

Browse files
committed
Merge remote-tracking branch 'upstream/master' into enh/bids_filter
2 parents f2de5c6 + e13e827 commit 6d86c0b

File tree

5 files changed

+5
-14
lines changed

5 files changed

+5
-14
lines changed

docs/faq.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ Below are some benchmark data that have been computed on a high performance clus
133133
CPUs and 64 GB of physical memory:
134134

135135
.. figure:: _static/fmriprep_benchmark.svg
136-
:scale: 100%
137136

138137
**Compute Time**: time in hours to complete the preprocessing for all subjects. **Physical Memory**: the maximum of RAM usage
139138
used across all fMRIPrep processes as reported by the HCP job manager. **Virtual Memory**: the maximum of virtual memory used

docs/outputs.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ Some of the estimated confounds are plotted with a "carpet" visualization of the
453453
An example of these plots follows:
454454

455455
.. figure:: _static/sub-01_task-mixedgamblestask_run-01_bold_carpetplot.svg
456-
:scale: 100%
457456

458457
The figure shows on top several confounds estimated for the BOLD series:
459458
global signals ('GlobalSignal', 'WM', 'GM'), standardized DVARS ('stdDVARS'),
@@ -474,7 +473,6 @@ option ``--return-all-components``.
474473
component, ordered by descending singular value.
475474

476475
.. figure:: _static/sub-01_task-rest_compcor.svg
477-
:scale: 100%
478476

479477
The figure displays the cumulative variance explained by components for each
480478
of four CompCor decompositions (left to right: anatomical CSF mask, anatomical
@@ -491,7 +489,6 @@ This can be used to guide selection of a confound model or to assess the extent
491489
to which tissue-specific regressors correlate with global signal.
492490

493491
.. figure:: _static/sub-01_task-mixedgamblestask_run-01_confounds_correlation.svg
494-
:scale: 100%
495492

496493
The left-hand panel shows the matrix of correlations among selected confound
497494
time series as a heat-map.

docs/workflows.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,13 @@ brain extraction workflow:
119119
An example of brain extraction is shown below:
120120

121121
.. figure:: _static/brainextraction_t1.svg
122-
:scale: 100%
123122

124123
Brain extraction
125124

126125

127126
Once the brain mask is computed, FSL ``fast`` is utilized for brain tissue segmentation.
128127

129128
.. figure:: _static/segmentation.svg
130-
:scale: 100%
131129

132130
Brain tissue segmentation.
133131

@@ -139,7 +137,6 @@ be set to resample the preprocessed data onto the final output spaces.
139137

140138

141139
.. figure:: _static/T1MNINormalization.svg
142-
:scale: 100%
143140

144141
Animation showing spatial normalization of T1w onto the ``MNI152NLin2009cAsym`` template.
145142

@@ -245,7 +242,6 @@ details.
245242
Reconstructed white and pial surfaces are included in the report.
246243

247244
.. figure:: _static/reconall.svg
248-
:scale: 100%
249245

250246
Surface reconstruction (FreeSurfer)
251247

@@ -361,7 +357,6 @@ workflow <bold_hmc>` and the :ref:`registration workflow to map
361357
BOLD series into the T1w image of the same subject <bold_reg>`.
362358

363359
.. figure:: _static/brainextraction.svg
364-
:scale: 100%
365360

366361
Calculation of a brain mask from the BOLD series.
367362

@@ -426,7 +421,6 @@ Susceptibility Distortion Correction (SDC)
426421
:mod:`fmriprep.workflows.fieldmap.base.init_sdc_wf`
427422

428423
.. figure:: _static/unwarping.svg
429-
:scale: 100%
430424

431425
Applying susceptibility-derived distortion correction, based on
432426
fieldmap estimation.
@@ -483,7 +477,6 @@ of each run and the reconstructed subject using the gray/white matter boundary
483477
(FreeSurfer's ``?h.white`` surfaces) is calculated by the ``bbregister`` routine.
484478

485479
.. figure:: _static/EPIT1Normalization.svg
486-
:scale: 100%
487480

488481
Animation showing :abbr:`EPI (echo-planar imaging)` to T1w registration (FreeSurfer ``bbregister``)
489482

@@ -631,7 +624,6 @@ melodic's estimation of components.
631624
A visualization of the AROMA component classification is also included in the HTML reports.
632625

633626
.. figure:: _static/aroma.svg
634-
:scale: 100%
635627

636628
Maps created with maximum intensity projection (glass brain) with a black
637629
brain outline.

fmriprep/cli/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ def main():
332332
log_level = int(max(25 - 5 * opts.verbose_count, logging.DEBUG))
333333
# Set logging
334334
logger.setLevel(log_level)
335+
logger.addHandler(logging.StreamHandler())
335336
nlogging.getLogger('nipype.workflow').setLevel(log_level)
336337
nlogging.getLogger('nipype.interface').setLevel(log_level)
337338
nlogging.getLogger('nipype.utils').setLevel(log_level)
@@ -509,7 +510,7 @@ def build_workflow(opts, retval):
509510

510511
if opts.clean_workdir:
511512
from niworkflows.utils.misc import clean_directory
512-
build_log.log("Clearing previous fMRIPrep working directory: %s" % work_dir)
513+
build_log.info("Clearing previous fMRIPrep working directory: %s" % work_dir)
513514
if not clean_directory(work_dir):
514515
build_log.warning("Could not clear all contents of working directory: %s" % work_dir)
515516

fmriprep/workflows/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,9 @@ def init_single_subject_wf(
537537
inputnode = pe.Node(niu.IdentityInterface(fields=['subjects_dir']),
538538
name='inputnode')
539539

540-
bidssrc = pe.Node(BIDSDataGrabber(subject_data=subject_data, anat_only=anat_only),
540+
bidssrc = pe.Node(BIDSDataGrabber(subject_data=subject_data,
541+
anat_only=anat_only,
542+
subject_id=subject_id),
541543
name='bidssrc')
542544

543545
bids_info = pe.Node(BIDSInfo(

0 commit comments

Comments
 (0)