Neuroinflab / kCSD-python

Kernel Current Source Density
https://kcsd-python.readthedocs.io/en/latest/
Other
15 stars 23 forks source link

FutureWarning for line 189 in utility_functions #84

Closed asiaszmek closed 5 years ago

asiaszmek commented 5 years ago

check_for_duplicated_electrodes function from kcsd/utility_functions.py gives a FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future. unique_elec_pos = np.vstack({tuple(row) for row in elec_pos})