NESCent/dplace — pull request #147 by stefelisabeth (2014-10-15 21:22:10+00:00)
Title: Mapping cultural traits onto language phylogenies

First version, basic implementation.
Requires ete2 (http://etetoolkit.org/). I haven't changed any of the settings files (except my own settings.py) but need to add 'ete2' to INSTALLED_APPS.

Rearranged some of the api_views and wrote an api_view that returns all the newick tree strings.
Created serializers for a NewickResultSet.
Searching for discrete culture traits displays language phylogenies.
Pruning of trees using ete2, although this throws an exception if the Newick string doesn't use isocodes for leaf names.
There is JavaScript code in tree.js that prunes trees (again, only works for isocodes) that doesn't throw an exception (just doesn't display the tree) - although this isn't used I kept it in for now just in case.