Skip to content
2 changes: 1 addition & 1 deletion cubids/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _parse_validate():
default=None,
)
parser.add_argument(
"--ignore_nifti_headers",
"--ignore-nifti-headers",
action="store_true",
default=False,
help="Disregard NIfTI header content during validation",
Expand Down
4 changes: 2 additions & 2 deletions cubids/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def validate(
linked_output_prefix_t,
]
if ignore_nifti_headers:
cmd.append("--ignore_nifti_headers")
cmd.append("--ignore-nifti-headers")

elif container_type == "singularity":
cmd = [
Expand All @@ -250,7 +250,7 @@ def validate(
linked_output_prefix_t,
]
if ignore_nifti_headers:
cmd.append("--ignore_nifti_headers")
cmd.append("--ignore-nifti-headers")

if sequential:
cmd.append("--sequential")
Expand Down
Loading