Improvement Description
Proper validation, possibly including empty-tree detection, could better protect users from passing bad phylogenies.
Current Behavior
NewickFormat uses a sniff pulled from skbio. If this is the sniffer linked in References, it catches empty trees, but only checks 100 tokens.
Proposed Behavior
A more comprehensive validation.
Questions
- Is the skbio sniffer already doing what we need?
- Is a full-length validation reasonable, timewise?
References
- This might be our sniffer?
- Newick overview