brainlit icon indicating copy to clipboard operation
brainlit copied to clipboard

Structure and radius information is lost when making a graph

Open alishakodibagkar opened this issue 5 years ago • 1 comments
trafficstars

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

alishakodibagkar avatar Aug 01 '20 00:08 alishakodibagkar

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

tathey1 avatar Aug 10 '20 19:08 tathey1