where the last character state label has a trailing comma. This used to create an empty character. We now throw a warning and ignore this case.
There's also an extra testcase for nexus.tools.binarise, because I initially thought that this was the problem but it wasn't. However, the test does something the other tests don't, so I thought I'd keep it.
This PR fixes a bug encountered here:
https://github.com/phlorest/kitchen_et_al2009/blob/870ca757a1ff737791073efef01a39faaef97eeb/raw/Kitchen-Semitic-Multistate.nex#L101
where the last character state label has a trailing comma. This used to create an empty character. We now throw a warning and ignore this case.
There's also an extra testcase for nexus.tools.binarise, because I initially thought that this was the problem but it wasn't. However, the test does something the other tests don't, so I thought I'd keep it.