Skip to content

Commit 18def1f

Browse files
authored
ENH: Add --me-output-echos CLI flag (#174)
1 parent 41a793b commit 18def1f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

nibabies/cli/parser.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,14 @@ def _slice_time_ref(value, parser):
277277
any spatial references. For further details, please check out \
278278
https://fmriprep.readthedocs.io/en/latest/spaces.html""",
279279
)
280+
g_conf.add_argument(
281+
"--me-output-echos",
282+
action="store_true",
283+
default=False,
284+
help="""\
285+
Output individual echo time series with slice, motion and susceptibility correction. \
286+
Useful for further Tedana processing post-NiBabies.""",
287+
)
280288

281289
g_conf.add_argument(
282290
"--bold2t1w-init",

nibabies/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ class execution(_Config):
378378
"""Do not monitor *nibabies* using Sentry.io."""
379379
output_dir = None
380380
"""Folder where derivatives will be stored."""
381+
me_output_echos = False
382+
"""Output individual echo time series with slice, motion and susceptibility correction"""
381383
output_layout = None
382384
"""Layout of derivatives within output_dir."""
383385
output_spaces = None

0 commit comments

Comments
 (0)