DessimozLab / pyham

MIT License
9 stars 5 forks source link

fix for "expect subclass obj of 'AncestralGenome' bug" #10

Open ethanbass opened 4 years ago

ethanbass commented 4 years ago

I fixed the ancestral genome bug (https://github.com/DessimozLab/pyham/issues/7) by overwriting extant genomes that are ancestral with an ancestral genome. I don't know if this is the optimal solution, but seems to be an improvement, since you can at least run though the analysis without getting a fatal error. I believe I found another bug in def set_MRCA where it appears to go up two levels instead of one to find the most recent common ancestor.