Skip to content

Commit a81d993

Browse files
authored
Merge pull request #1866 from satra/fix/bru2
fixing tests and install errors
2 parents 0424b65 + 6dc7b1c commit a81d993

20 files changed

+31
-209
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Support and Communication
7878
-------------------------
7979

8080
If you have a problem or would like to ask a question about how to do something in Nipype please open an issue to
81-
`NeuroStars.org <http://neurostars.org>`_ with a *nipype* tag. `NeuroStars.org <http://neurostars.org>`_ is a
82-
platform similar to StackOverflow but dedicated to neuroinformatics.
81+
`NeuroStars.org <http://neurostars.org>`_ with a *nipype* tag. `NeuroStars.org <http://neurostars.org>`_ is a
82+
platform similar to StackOverflow but dedicated to neuroinformatics.
8383

8484
To participate in the Nipype development related discussions please use the following mailing list::
8585

nipype/algorithms/tests/test_auto_CompCor.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

nipype/algorithms/tests/test_auto_ErrorMap.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

nipype/algorithms/tests/test_auto_Overlap.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

nipype/algorithms/tests/test_auto_TSNR.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ def test_CreateJacobianDeterminantImage_inputs():
1111
position=1,
1212
),
1313
doLogJacobian=dict(argstr='%d',
14-
mandatory=False,
1514
position=3,
1615
),
1716
environ=dict(nohash=True,
@@ -35,7 +34,6 @@ def test_CreateJacobianDeterminantImage_inputs():
3534
terminal_output=dict(nohash=True,
3635
),
3736
useGeometric=dict(argstr='%d',
38-
mandatory=False,
3937
position=4,
4038
),
4139
)

nipype/interfaces/ants/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ class CreateJacobianDeterminantImageInputSpec(ANTSCommandInputSpec):
145145
outputImage = File(argstr='%s', mandatory=True,
146146
position=2,
147147
desc='output filename')
148-
doLogJacobian = traits.Enum(0, 1, argstr='%d', mandatory=False, position=3,
148+
doLogJacobian = traits.Enum(0, 1, argstr='%d', position=3,
149149
desc='return the log jacobian')
150-
useGeometric = traits.Enum(0, 1, argstr='%d', mandatory=False, position=4,
150+
useGeometric = traits.Enum(0, 1, argstr='%d', position=4,
151151
desc='return the geometric jacobian')
152152

153153
class CreateJacobianDeterminantImageOutputSpec(TraitedSpec):

nipype/interfaces/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@ def _filename_from_source(self, name, chain=None):
18441844
# special treatment for files
18451845
try:
18461846
_, base, source_ext = split_filename(source)
1847-
except AttributeError:
1847+
except (AttributeError, TypeError):
18481848
base = source
18491849
else:
18501850
if name in chain:

nipype/interfaces/fsl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99

1010
from .base import (FSLCommand, Info, check_fsl, no_fsl, no_fsl_course_data)
11-
from .preprocess import (FAST, FLIRT, ApplyXfm, ApplyXFM, BET, MCFLIRT, FNIRT,
11+
from .preprocess import (FAST, FLIRT, ApplyXFM, BET, MCFLIRT, FNIRT,
1212
ApplyWarp, SliceTimer, SUSAN, PRELUDE, FUGUE, FIRST)
1313
from .model import (Level1Design, FEAT, FEATModel, FILMGLS, FEATRegister,
1414
FLAMEO, ContrastMgr, MultipleRegressDesign, L2Model, SMM,

nipype/interfaces/fsl/model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class Level1DesignInputSpec(BaseInterfaceInputSpec):
4949
"{'dgamma': {'derivs': True}}"))
5050
orthogonalization = traits.Dict(traits.Int, traits.Dict(traits.Int,
5151
traits.Either(traits.Bool,traits.Int)),
52-
mandatory=False,
5352
desc=("which regressors to make orthogonal e.g., "
5453
"{1: {0:0,1:0,2:0}, 2: {0:1,1:1,2:0}} to make the second "
5554
"regressor in a 2-regressor model orthogonal to the first."),

0 commit comments

Comments
 (0)