We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like there is some incompatibility currently with FSL interfaces (and possibly others) with py2 and traits 5.0
https://neurostars.org/t/cant-pickle-instancemethod-when-using-mapnode-in-nipype/4052/4?u=mgxd
#2910 #2882
from nipype import MapNode, Workflow from nipype.interfaces.fsl import BET better = MapNode(BET(), iterfield=['in_file'], name='better') better.inputs.in_file = ['/path/to/some/image'] * 2 wf = Workflow('testwf') wf.add_nodes([better]) wf.run() ... ... TypeError: can't pickle instancemethod objects
[Node] Finished "testwf.better".
{'commit_hash': 'ec7457c23', 'commit_source': 'installation', 'networkx_version': '2.2', 'nibabel_version': '2.3.0', 'nipype_version': '1.1.3', 'numpy_version': '1.15.2', 'pkg_path': '/om2/user/mathiasg/miniconda/envs/py2/lib/python2.7/site-packages/nipype', 'scipy_version': '1.1.0', 'sys_executable': '/om2/user/mathiasg/miniconda/envs/py2/bin/python', 'sys_platform': 'linux2', 'sys_version': '2.7.14 |Anaconda, Inc.| (default, Mar 12 2018, 12:37:12) \n[GCC 7.2.0]', 'traits_version': '5.0.0'}
Choose one
The text was updated successfully, but these errors were encountered:
Related: enthought/traits#452
I think our best bet is to pin py2 installs to traits 4.6.0 until it is resolved upstream WDYT @satra @effigies
Sorry, something went wrong.
I thought we had pinned that...
btw- this has been fixed in traits 5.1
FIX: known issue of nipype with traits 5.0 (nipy/nipype#2913)
9c7d812
No branches or pull requests
Summary
https://neurostars.org/t/cant-pickle-instancemethod-when-using-mapnode-in-nipype/4052/4?u=mgxd
#2910 #2882
Actual behavior
Expected behavior
[Node] Finished "testwf.better".
Platform details:
Execution environment
Choose one
The text was updated successfully, but these errors were encountered: