navis-org / pymaid

Python library to interface with CATMAID servers. Fully interoperable with navis.
https://pymaid.readthedocs.io/en/latest/
GNU General Public License v3.0
24 stars 11 forks source link

Do not use regex for exact annotation name matches #221

Closed clbarnes closed 1 year ago

clbarnes commented 1 year ago

Caused problems for annotation names with re special characters. Includes tests. Resolves #220

clbarnes commented 1 year ago

Now also adds a get_annotation_graph function which returns a nx.DiGraph of annotations, and the skeletons whose neurons they annotate.

Also refactors pulling the catmaid credentials from environment variables so that all arguments can now be done this way. This was implemented in a classmethod of the CatmaidInstance and connect_catmaid is a thin wrapper over that.