Skip to content

Modelgen SpecifyModel TypeError: apply_along_axis() #2181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cni-md opened this issue Sep 11, 2017 · 2 comments
Closed

Modelgen SpecifyModel TypeError: apply_along_axis() #2181

cni-md opened this issue Sep 11, 2017 · 2 comments

Comments

@cni-md
Copy link
Contributor

cni-md commented Sep 11, 2017

@effigies
SpecifyModel rises an error with the new function from
commit cd49748

modelgen.py line 399ff

With numpy 1.8.2 I get
TypeError: apply_along_axis() got an unexpected keyword argument 'source'
Interface SpecifyModel failed to run

Joerg

@cni-md
Copy link
Contributor Author

cni-md commented Sep 11, 2017

https://docs.scipy.org/doc/numpy/reference/generated/numpy.apply_along_axis.html
kwargs : any
Additional named arguments to func1d.
New in version 1.9.0.

nipype require numpy >= 1.6.2

@effigies
Copy link
Member

I see. Thanks for finding this. I'll submit a PR to update the minimum numpy version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants