liamrevell / phytools

GNU General Public License v3.0
207 stars 56 forks source link

make.simmap() should be explict about requirement of named vector of tip states #8

Closed wabarr closed 7 years ago

wabarr commented 7 years ago

The make.simmap() function will fail if the vector of tip states does not have names, but the function does not check for this and thus does not return a meaningful error message. It would be helpful if it did.

liamrevell commented 7 years ago

I have now updated the documentation of make.simmap to clarify this.

liamrevell commented 7 years ago

I will close this issue. Thanks for the comment!