We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e757c4 commit 590bc1bCopy full SHA for 590bc1b
niworkflows/interfaces/nibabel.py
@@ -22,6 +22,8 @@
22
#
23
"""Nibabel-based interfaces."""
24
25
+from __future__ import annotations
26
+
27
from pathlib import Path
28
from warnings import warn
29
@@ -520,9 +522,9 @@ def _run_interface(self, runtime):
520
522
def reorient_file(
521
523
in_file: str,
524
*,
- target_file: str = None,
- target_ornt: str = None,
525
- newpath: str = None,
+ target_file: str | None = None,
526
+ target_ornt: str | None = None,
527
+ newpath: str | None = None,
528
) -> str:
529
"""
530
Reorient an image.
0 commit comments