Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 22.6.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0
hooks:
- id: black
exclude: (_version\.py|versioneer\.py)
1 change: 1 addition & 0 deletions pydra/tasks/mrtrix3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
>>> import pydra
>>> import pydra.tasks.mrtrix3
"""

from ._version import __version__
14 changes: 7 additions & 7 deletions pydra/tasks/mrtrix3/v3_1/mredit.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ class MrEdit(shell.Task["MrEdit.Outputs"]):
help="""fill one or more planes on a particular image axis""",
sep=" ",
)
sphere: MultiInputObj[
tuple[list[float], list[float], list[float]]
] | None = shell.arg(
default=None,
argstr="-sphere",
help="""draw a sphere with radius in mm""",
sep=" ",
sphere: MultiInputObj[tuple[list[float], list[float], list[float]]] | None = (
shell.arg(
default=None,
argstr="-sphere",
help="""draw a sphere with radius in mm""",
sep=" ",
)
)
voxel: MultiInputObj[tuple[list[float], list[float]]] | None = shell.arg(
default=None,
Expand Down
22 changes: 11 additions & 11 deletions pydra/tasks/mrtrix3/v3_1/mrregister.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,17 +427,17 @@ class Outputs(shell.Outputs):
path_template="transformed.mif",
help="""image1 after registration transformed and regridded to the space of image2. Note that -transformed needs to be repeated for each contrast if multi-contrast registration is used.""",
)
transformed_midway: MultiInputObj[
tuple[ImageOut, ImageOut]
] | bool | None = shell.outarg(
default=None,
argstr="-transformed_midway",
path_template=(
"transformed_midway0.mif",
"transformed_midway1.mif",
),
help="""image1 and image2 after registration transformed and regridded to the midway space. Note that -transformed_midway needs to be repeated for each contrast if multi-contrast registration is used.""",
sep=" ",
transformed_midway: MultiInputObj[tuple[ImageOut, ImageOut]] | bool | None = (
shell.outarg(
default=None,
argstr="-transformed_midway",
path_template=(
"transformed_midway0.mif",
"transformed_midway1.mif",
),
help="""image1 and image2 after registration transformed and regridded to the midway space. Note that -transformed_midway needs to be repeated for each contrast if multi-contrast registration is used.""",
sep=" ",
)
)
rigid: File | bool | None = shell.outarg(
default=None,
Expand Down