-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unhashable type: 'MassMigration' in Model.py #30
Comments
UPDATE: I did some digging around the eaton-lab/sptree-chapter page to try to nail down what was the latest version of %pip install git+git://github.com/pmckenz1/ipcoal.git but unfortunately when I now run: # Generate a random tree with 8 tips and height of 1M generations.
tree1 = toytree.rtree.unittree(8, treeheight=1e6, seed=123)
# Initialize a model object given a species tree and Ne setting.
model = ipcoal.Model(tree=tree1, Ne=1e5, debug) I get this new error message:
which makes even less sense to me since in |
Hi, I hit the same error like you, and I adjusted the ipcoal/model.py according to the comment https://github.com/pmckenz1/ipcoal/commit/ba8d9c00e8760e3c86c18385fe7912663374c8bf?diff=split, and fixed it successfully. Maybe you can have a try. |
any updates? |
Hi Patrick and Dr. Eaton,
I was running through the documentation and I came across an error with
Model.py
which I naively think is due to premsprime v 1.+
syntax not properly working. Here is how to recreate my error:Additionally, when I run this on the binder from the documentation I get the same exact error. What is weird is that looking through the code for Model.py I can't seem to find where this issue is, which is why I am reaching out because I naively think the code base is totally up to date with the latest
msprime
code. Any help would be greatly appreciated!-Dave
The text was updated successfully, but these errors were encountered: