MATCH p=(a:Neuron)-[r:synapsed_to]->(b:Neuron) WHERE exists(r.weight) SET a:has_neuron_connectivity SET b:has_neuron_connectivity,
MATCH (n:Neuron)-[r:has_presynaptic_terminals_in]->(c:Synaptic_neuropil) SET n:has_region_connectivity,
MATCH (n:Neuron)-[r:has_postsynaptic_terminal_in]->(c:Synaptic_neuropil) SET n:has_region_connectivity
has_neuron/region_connectivity
Currently added via Neo4J query:
https://github.com/VirtualFlyBrain/vfb-pipeline-polishing/blob/main/finalStep.py#L9
has_postsynaptic_terminal_in follows same pattern as has_presynaptic_terminals_in