dlce-eva / python-nexus

python-nexus - Generic nexus (.nex, .trees) reader/writer for python
BSD 2-Clause "Simplified" License
11 stars 3 forks source link

NexusReader.write() output is not consistent #2

Closed SimonGreenhill closed 5 years ago

SimonGreenhill commented 8 years ago

Ordering should be consistent. Implement a sorting function to

  1. put translate blocks before trees.
  2. put taxa blocks before characters
  3. put assumptions blocks after data/characters.