Skip to content

Latest commit

 

History

History
143 lines (78 loc) · 3.15 KB

CHANGES.md

File metadata and controls

143 lines (78 loc) · 3.15 KB

Changes

v2.9.0

  • better detranslate support in tree handler
  • updated project scaffolding

v2.8.0

  • handle nexus files with empty characters block (e.g. edictor)
  • optionally preserve insertion order of characters with NexusWriter
  • support another taxa translation variant

v2.7.0

Better handling of detranslate for BEAST trees.

v2.6.0

Labelling of charstates in the recode-to-binary tool now matches the original states .

v2.5.2

Fixed bug whereby a duplicate characters block was written by NexusReader in case a 'data' block was inserted as shortcut to CharacterHandler.

v2.5.1

Fixed bug where the wrong decorator order would prevent tree manipulation tools to work on str or Path input.

v2.5

Added tree tools allowing tree manipulation using the newick.Node objects.

v2.4.1

Fixed performance regression in NexusWriter.add.

v2.4

Refactored nexus.tools API, for better programmatic usability of the tools.

v2.3

  • test on py 3.10
  • synced docs and implementation

v2.2

  • fixed parsing of an unusual MrBayes format treefile.
  • fixed logging error in write_to_nexus()

v2.1

  • fix minor bug with parsing of data/characters blocks.

v2.0

  • Refactored cli. The package now installs a single command nexus, providing several subcommands.
  • Dropped python 2 compatibility.

v1.7

  • added rudimentary tree handling to NexusWriter objects:
    >>> nex = NexusWriter()
    >>> nex.trees.append("tree tree1 = (a,b);")
  • added the ability to combine nexuses containing trees

v1.63

  • fixed an issue where the bin directory wasn't packed on py2.7 (thanks @xrotwang)

v1.62

  • cached DataHandler's characters property to speed up.
  • cached DataHandler's symbol property to speed up.
  • cached DataHandler's site parser to speed up.

v1.61

  • fixed an install issue caused by refactoring.

v1.6

  • remove some over-engineered checking on the NexusReader.DataMatrix.characters property
  • major refactoring of reader.py into a handlers subpackage
  • NexusReader.read_string now returns self, such that it can be used as a factory-style method.
  • added rudimentary support for taxon annotations in taxa blocks.

v1.53:

  • the character block format string symbols generated by NexusReader.write() no longer includes missing or gap symbols.
  • fix parsing glitch in NexusReader.DataHandler.parse_format_line.

v1.51:

  • characters and data block now retain their character labels in NexusReader

v1.5:

  • work around a minor bug in BEAST2 (CompEvol/beast2#713)
  • characters block is now added as characters and not invisibly renamed to data.

v1.42

minor fix to remove a stray debugging print statement

v1.41

minor fix to remove a stray debugging print statement

v1.40

major speed enhancement in NexusReader -- a 2 order of magnitude decrease in reading most nexus data blocks.

v1.35

fixed nexus_nexusmanip.py utility to handle multiple arguments, and to delete arbitrary sites.

v1.34

fixed parsing of malformed taxa blocks.

v1.33

fixed bug in taxa labels parser when taxa are listed on one line.