Skip to content

Commit b3d8e4e

Browse files
committed
FIX: Remove --topup-max-vols flag
SDCFlows now averages any 4D input into a single 3D volume.
1 parent 07a3f04 commit b3d8e4e

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

nibabies/cli/parser.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,6 @@ def _slice_time_ref(value, parser):
450450
default=True,
451451
help="do not remove median (within mask) from fieldmap",
452452
)
453-
g_fmap.add_argument(
454-
"--topup-max-vols",
455-
default=5,
456-
type=int,
457-
help="maximum number of volumes to use with TOPUP, per-series (EPI or BOLD)",
458-
)
459453

460454
# SyN-unwarp options
461455
g_syn = parser.add_argument_group("Specific options for SyN distortion correction")

nibabies/workflows/base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,6 @@ def init_single_subject_wf(subject_id, session_id=None):
548548
fmap_wf_inputs = getattr(fmap_wf.inputs, f"in_{estimator.bids_id}")
549549
fmap_wf_inputs.in_data = [str(s.path) for s in estimator.sources]
550550
fmap_wf_inputs.metadata = [s.metadata for s in estimator.sources]
551-
552-
flatten = fmap_wf.get_node(f"wf_{estimator.bids_id}.flatten")
553-
flatten.inputs.max_trs = config.workflow.topup_max_vols
554551
else:
555552
raise NotImplementedError(
556553
"Sophisticated PEPOLAR schemes (e.g., using DWI+EPI) are unsupported."

0 commit comments

Comments
 (0)