neurodata / brainlit

Method container for computational neuroscience on brains.
http://brainlit.neurodata.io/
Other
27 stars 17 forks source link

Structure and radius information is lost when making a graph #68

Open alishakodibagkar opened 4 years ago

alishakodibagkar commented 4 years ago

df_to_graph method in brainlit/utils/swc.py makes a graph without including metadata for structure and radius The method needs to add node attributes in addition to x, y, and z to reconstruct a swc from the graph

tathey1 commented 4 years ago

I think every column other than id, parent, and the location coordinates, could be stored as node attributes in the networkx Graph object