From f55b38716f998c868935fed7ee1e39ca4b7fb83a Mon Sep 17 00:00:00 2001 From: bpinsard Date: Fri, 17 May 2024 09:37:26 -0400 Subject: [PATCH] move to nitransforms master branch until release --- niworkflows/interfaces/gradunwarp.py | 8 +++++++- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/niworkflows/interfaces/gradunwarp.py b/niworkflows/interfaces/gradunwarp.py index 6bb3fd263c3..6a3df020ca9 100644 --- a/niworkflows/interfaces/gradunwarp.py +++ b/niworkflows/interfaces/gradunwarp.py @@ -29,11 +29,17 @@ SimpleInterface ) + class _GradUnwarpInputSpec(TraitedSpec): infile = File(exists=True, mandatory=True, desc="input image to be corrected") gradfile = File(exists=True, default=None, desc="gradient file") coeffile = File(exists=True, default=None, desc="coefficients file") - outfile = File("gradunwarped.nii.gz", mandatory=True, usedefault=True, desc="output corrected image") + outfile = File( + "gradunwarped.nii.gz", + mandatory=True, + usedefault=True, + desc="output corrected image" + ) vendor = traits.Enum("siemens", "ge", usedefault=True, desc="scanner vendor") warp = traits.Bool(desc="warp a volume (as opposed to unwarping)") nojac = traits.Bool(desc="Do not perform Jacobian intensity correction") diff --git a/pyproject.toml b/pyproject.toml index 5394af62b82..a7d79f6cc27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dependencies = [ "nilearn >= 0.5.2", "nipype >= 1.8.5", # "nitransforms >= 21.0.0", - "nitransforms@https://github.com/bpinsard/nitransforms/archive/refs/heads/enh/output_displacement_field.zip", + "nitransforms@https://github.com/nipy/nitransforms/archive/refs/heads/master.zip", "numpy", "packaging", "pandas",