mwpennell / geiger-v2

A suite of methods and models for studying evolutionary radiations
22 stars 17 forks source link

testing phylo class with 'is.phylo' instead of '==' #43

Closed LunaSare closed 2 years ago

LunaSare commented 2 years ago

I am running congruify on phylo objects that are also another class. Using is.phylo(stock) instead of class(stock) == "phylo" allows testing data objects with multiple classes.

LunaSare commented 2 years ago

Fixed here https://github.com/mwpennell/geiger-v2/commit/4c26e6f842df61bb3278d17d0dae3990f84408c6 thanks @liamrevell