Skip to content

Commit 0cbe5f5

Browse files
authored
Merge pull request #2065 from juhuntenburg/fix/cbstools_params
FIX adapting mp2rage masking interface to new parameter names in cbstools 3
2 parents a63c52d + c128a34 commit 0cbe5f5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NIPYPE: Neuroimaging in Python: Pipelines and Interfaces
3333
.. image:: https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat
3434
:target: http://gitter.im/nipy/nipype
3535
:alt: Chat
36-
36+
3737
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.581704.svg
3838
:target: https://doi.org/10.5281/zenodo.581704
3939

nipype/interfaces/mipav/developer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -722,10 +722,10 @@ class JistIntensityMp2rageMaskingInputSpec(CommandLineInputSpec):
722722
inSkip = traits.Enum("true", "false", desc="Skip zero values", argstr="--inSkip %s")
723723
inMasking = traits.Enum("binary", "proba", desc="Whether to use a binary threshold or a weighted average based on the probability.", argstr="--inMasking %s")
724724
xPrefExt = traits.Enum("nrrd", desc="Output File Type", argstr="--xPrefExt %s")
725-
outSignal = traits.Either(traits.Bool, File(), hash_files=False, desc="Signal Proba Image", argstr="--outSignal %s")
726-
outSignal2 = traits.Either(traits.Bool, File(), hash_files=False, desc="Signal Mask Image", argstr="--outSignal2 %s")
727-
outMasked = traits.Either(traits.Bool, File(), hash_files=False, desc="Masked T1 Map Image", argstr="--outMasked %s")
728-
outMasked2 = traits.Either(traits.Bool, File(), hash_files=False, desc="Masked Iso Image", argstr="--outMasked2 %s")
725+
outSignal = traits.Either(traits.Bool, File(), hash_files=False, desc="Signal Proba Image", argstr="--outSignal_Proba %s")
726+
outSignal2 = traits.Either(traits.Bool, File(), hash_files=False, desc="Signal Mask Image", argstr="--outSignal_Mask %s")
727+
outMasked = traits.Either(traits.Bool, File(), hash_files=False, desc="Masked T1 Map Image", argstr="--outMasked_T1_Map %s")
728+
outMasked2 = traits.Either(traits.Bool, File(), hash_files=False, desc="Masked Iso Image", argstr="--outMasked_T1weighted %s")
729729
null = traits.Str(desc="Execution Time", argstr="--null %s")
730730
xDefaultMem = traits.Int(desc="Set default maximum heap size", argstr="-xDefaultMem %d")
731731
xMaxProcess = traits.Int(1, desc="Set default maximum number of processes.", argstr="-xMaxProcess %d", usedefault=True)

nipype/interfaces/mipav/tests/test_auto_JistIntensityMp2rageMasking.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ def test_JistIntensityMp2rageMasking_inputs():
2626
),
2727
null=dict(argstr='--null %s',
2828
),
29-
outMasked=dict(argstr='--outMasked %s',
29+
outMasked=dict(argstr='--outMasked_T1_Map %s',
3030
hash_files=False,
3131
),
32-
outMasked2=dict(argstr='--outMasked2 %s',
32+
outMasked2=dict(argstr='--outMasked_T1weighted %s',
3333
hash_files=False,
3434
),
35-
outSignal=dict(argstr='--outSignal %s',
35+
outSignal=dict(argstr='--outSignal_Proba %s',
3636
hash_files=False,
3737
),
38-
outSignal2=dict(argstr='--outSignal2 %s',
38+
outSignal2=dict(argstr='--outSignal_Mask %s',
3939
hash_files=False,
4040
),
4141
terminal_output=dict(nohash=True,

0 commit comments

Comments
 (0)