Skip to content

Commit 5d43ec6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 218a47e commit 5d43ec6

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

pydra/tasks/mrtrix3/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
>>> import pydra
33
>>> import pydra.tasks.mrtrix3
44
"""
5+
56
from ._version import __version__

pydra/tasks/mrtrix3/v3_1/mredit.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ class MrEdit(shell.Task["MrEdit.Outputs"]):
5858
help="""fill one or more planes on a particular image axis""",
5959
sep=" ",
6060
)
61-
sphere: MultiInputObj[
62-
tuple[list[float], list[float], list[float]]
63-
] | None = shell.arg(
64-
default=None,
65-
argstr="-sphere",
66-
help="""draw a sphere with radius in mm""",
67-
sep=" ",
61+
sphere: MultiInputObj[tuple[list[float], list[float], list[float]]] | None = (
62+
shell.arg(
63+
default=None,
64+
argstr="-sphere",
65+
help="""draw a sphere with radius in mm""",
66+
sep=" ",
67+
)
6868
)
6969
voxel: MultiInputObj[tuple[list[float], list[float]]] | None = shell.arg(
7070
default=None,

pydra/tasks/mrtrix3/v3_1/mrregister.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -427,17 +427,17 @@ class Outputs(shell.Outputs):
427427
path_template="transformed.mif",
428428
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.""",
429429
)
430-
transformed_midway: MultiInputObj[
431-
tuple[ImageOut, ImageOut]
432-
] | bool | None = shell.outarg(
433-
default=None,
434-
argstr="-transformed_midway",
435-
path_template=(
436-
"transformed_midway0.mif",
437-
"transformed_midway1.mif",
438-
),
439-
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.""",
440-
sep=" ",
430+
transformed_midway: MultiInputObj[tuple[ImageOut, ImageOut]] | bool | None = (
431+
shell.outarg(
432+
default=None,
433+
argstr="-transformed_midway",
434+
path_template=(
435+
"transformed_midway0.mif",
436+
"transformed_midway1.mif",
437+
),
438+
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.""",
439+
sep=" ",
440+
)
441441
)
442442
rigid: File | bool | None = shell.outarg(
443443
default=None,

0 commit comments

Comments
 (0)