jambler24 / GenGraph

A repository for the GenGraph toolkit for the creation and manipulation of graph genomes
GNU General Public License v3.0
52 stars 16 forks source link

NetworkX v2.4 support #20

Closed jambler24 closed 4 years ago

jambler24 commented 4 years ago

As of neworkx v2.4: G.node –> use G.nodes https://networkx.github.io/documentation/stable/release/release_2.4.html resulting in an error.

jambler24 commented 4 years ago

Appears as: AttributeError: 'MultiDiGraph' object has no attribute ‘node’.

jambler24 commented 4 years ago

Fixed as of the latest merge. Testing successful and a slight speed increase noted.