Pas-Kapli / mptp

mPTP - a tool for single-locus species delimitation
GNU Affero General Public License v3.0
24 stars 5 forks source link

re-root already rooted trees #77

Open Pas-Kapli opened 7 years ago

Pas-Kapli commented 7 years ago

currently the --outgroup and --outgroup_crop commands work when the input tree is unrooted. When someone tries to use them with a rooted tree they are just ignored (the delimitation is done on the original rooted tree) and there is no error message.

There should either be an error message saying that the tree is already rooted or, preferably, re-root the tree according to the taxa defined by the user.