Closed SridharJagannathan closed 3 years ago
This is already fixed in the dev
branch - I just haven't gotten around merging it as it is a major break with past versions in that it bases pymaid
on navis
.
I would recommend you install navis from Github and use pymaid's dev
branch for now. That would also help me iron out some of the remaining kinks before merging dev
into master
.
pymaid 2.0.1 is now on master and has this issue fixed. Installation now also possible from PyPI: pip3 install python-catmaid
Error when plotting a neuron with connectors like below:
On further debugging, it seems the pandas has deprecated
ix
in favor ofiloc
andloc
, see here: https://github.com/schlegelp/pymaid/blob/839863a523949ec64f1fa7112db558943ddc9adb/pymaid/plotting.py#L1316 in this context it would be best to update this liketn = neuron.nodes.set_index('treenode_id').loc[this_cn.treenode_id.values]