<｜begin▁of▁sentence｜>### Instruction:
Given the neural network graph of the C. elegans organism, which can be read from a GML file named celegansneural.gml, can you use the significance_communities function in cdlib to perform community detection? Additionally, can you calculate and print the significance of the discovered communities?
### Response:
from cdlib import algorithms
import networkx as nx

# Read the neural network of C. elegans from the provided GML file
data_path = 'celegansneural.gml'
G = nx.read_gml(data_path)

# Perform community detection using the significance_communities algorithm
communities = algorithms.significance_communities(G)

# Print the number of communities detected
print(f'Detected {len(communities.communities)} communities.', 'Significance:', communities.significance())
<|EOT|>
