yanboANU / Kmer2SNP

22 stars 2 forks source link

connected_component_subgraphs is removed in NetworkX 2.4 #4

Closed tbenavi1 closed 3 years ago

tbenavi1 commented 4 years ago

Hello,

On line 53 of kmerGraphCalling.py, you use the deprecated function connected_component_subgraphs. I believe that the current way to get this information is now G.subgraph(c) for c in nx.connected_components(G). Would it be possible to update this in your code? Thank you.

yanboANU commented 3 years ago

I have updated this in my code. Thanks.