Closed
Description
The buildbots are giving errors like this:
======================================================================
ERROR: Failure: TypeError (norm() got an unexpected keyword argument 'axis'
Interface ErrorMap failed to run. )
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildslave/osx-10.8/nipype-py2_7-osx-10_8/build/venv/lib/python2.7/site-packages/nose/loader.py", line 251, in generate
for test in g():
File "/Users/buildslave/osx-10.8/nipype-py2_7-osx-10_8/build/venv/lib/python2.7/site-packages/nipype/algorithms/tests/test_errormap.py", line 44, in test_errormap
result = errmap.run()
File "/Users/buildslave/osx-10.8/nipype-py2_7-osx-10_8/build/venv/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1003, in run
runtime = self._run_interface(runtime)
File "/Users/buildslave/osx-10.8/nipype-py2_7-osx-10_8/build/venv/lib/python2.7/site-packages/nipype/algorithms/metrics.py", line 548, in _run_interface
errvector = np.linalg.norm(diffvector, axis=1)
TypeError: norm() got an unexpected keyword argument 'axis'
Interface ErrorMap failed to run.
e.g. http://nipy.bic.berkeley.edu/builders/nipype-py2.7-osx-10.8/builds/428/steps/shell_8/logs/stdio
I believe the axis
keyword to npl.norm
reached numpy at 1.8, and some of the buildbots have earlier numpies.
Metadata
Metadata
Assignees
Labels
No labels