popgenmethods / momi2

Infer demographic history with the Moran model
GNU General Public License v3.0
47 stars 11 forks source link

Support networkx 2.4+ #33

Closed jackkamm closed 3 years ago

jackkamm commented 4 years ago

networkx 2.4 introduces breaking changes (DiGraph.node no longer exists)

kepra3 commented 4 years ago

Is there a solution to this issue?

alanaw1 commented 4 years ago

Hi @kepra3, I raised the same issue as you did, and found a solution to it. I've described it in #38, in case you're still interested!

isaacovercast commented 3 years ago

@alanaw1 Thanks for the solution. +1. I just ran into this again. Happy to make a pr if there's a general sense of how tricky this will be to fix.

jackkamm commented 3 years ago

Sorry for the delay all. I've fixed this issue in the most recent commit.