diff --git a/fmriprep/cli/run.py b/fmriprep/cli/run.py index 697bccc9e..43cab5290 100755 --- a/fmriprep/cli/run.py +++ b/fmriprep/cli/run.py @@ -108,6 +108,9 @@ def get_parser(): help='DEPRECATED (now does nothing, see --error-on-aroma-warnings) ' '- ignores the errors ICA_AROMA returns when there are no ' 'components classified as either noise or signal') + g_perfm.add_argument('--md-only-boilerplate', action='store_true', + default=False, + help='skip generation of HTML and LaTeX formatted citation with pandoc') g_perfm.add_argument('--error-on-aroma-warnings', action='store_true', default=False, help='Raise an error if ICA_AROMA does not produce sensible output ' @@ -444,7 +447,7 @@ def main(): for ext in ('bib', 'tex', 'md', 'html') } - if citation_files['md'].exists(): + if not opts.md_only_boilerplate and citation_files['md'].exists(): # Generate HTML file resolving citations cmd = ['pandoc', '-s', '--bibliography', pkgrf('fmriprep', 'data/boilerplate.bib'),