-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I have installed numpy, scipy and nibabel with python version 2.7 and I am trying to test the code on the test data. But I meet an error when I run make_local_connectivity_ones. The error shows below:
"
sparse_w=append(sparse_w,R[nzndx],1)
Traceback (most recent call last):
File "", line 1, in
sparse_w=append(sparse_w,R[nzndx],1)
File "/home/fbip018/anaconda3/envs/cxy_image_3/lib/python2.7/site-packages/numpy/lib/function_base.py", line 5003, in append
return concatenate((arr, values), axis=axis)
IndexError: axis 1 out of bounds [0, 1)
"
This error happens in line 155 in make_local_connectivity_ones.py which is the code "sparse_w=append(sparse_w,R[nzndx],1)". I don't know how to deal with it and I am sure the numpy is installed.
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels