Traceback (most recent call last):


 "/home/kevin/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 251, in generate

for test in g():


 "/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/tests/test_splitmerge.py", line 30, in test_split_and_merge

resdw, resmsk, resid = split_rois(dwfile, in_mask, roishape=(20, 20, 2))


 "/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/misc.py", line 1356, in split_rois

droi = np.vstack((droi, np.zeros((fill, nvols), dtype=np.float32)))
TypeError: 'numpy.float64' object cannot be interpreted as an index

Traceback (most recent call last):


 "c:\salt\bin\lib\site-packages\salt\fileclient.py", line 532, in get_url

https_enable=s3_opt('https_enable', True))


 "c:\salt\bin\lib\site-packages\salt\utils\s3.py", line 174, in query

timeout=300)


 "c:\salt\bin\lib\site-packages\requests\api.py", line 60, in request

return session.request(method=method, url=url, **kwargs)


 "c:\salt\bin\lib\site-packages\requests\sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)


 "c:\salt\bin\lib\site-packages\requests\sessions.py", line 646, in send

r = adapter.send(request, **kwargs)


 "c:\salt\bin\lib\site-packages\requests\adapters.py", line 449, in send

timeout=timeout


 "c:\salt\bin\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen

chunked=chunked)


 "c:\salt\bin\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request

self._validate_conn(conn)


 "c:\salt\bin\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn

conn.connect()


 "c:\salt\bin\lib\site-packages\urllib3\connection.py", line 344, in connect

ssl_context=context)


 "c:\salt\bin\lib\site-packages\urllib3\util\ssl_.py", line 341, in ssl_wrap_socket

if ((server_hostname is not None and not is_ipaddress(server_hostname))


 "c:\salt\bin\lib\site-packages\urllib3\util\ssl_.py", line 376, in is_ipaddress

inet_pton(af, hostname)


 "c:\salt\bin\lib\site-packages\salt\ext\win_inet_pton.py", line 40, in inet_pton

ipaddress.ip_address(six.text_type(ip_string))


 "c:\salt\bin\lib\ipaddress.py", line 49, in ip_address

return IPv6Address(address)


 "c:\salt\bin\lib\site-packages\salt\_compat.py", line 175, in __init__

elif self._is_packed_binary(address):


 "c:\salt\bin\lib\site-packages\salt\_compat.py", line 194, in _is_packed_binary

packed = bool(int(str(bytearray(data)).encode('hex'), 16))
TypeError: string argument without an encoding
