brainlit
brainlit copied to clipboard
Structure and radius information is lost when making a graph
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
I think every column other than id, parent, and the location coordinates, could be stored as node attributes in the networkx Graph object