..  _section_sprucetk_releasenotes_1611:

Spruce TK 1.6.1.1
================================================================================

Major bug fixes
--------------------------------------------------------------------------------

*   An issue has been fixed where :ref:`OEExtractBioUnits <OESpruce_OEExtractBioUnits>` function
    would fail if there was a mismatch in author assigned chain names and PDB assigned chain names
    in the case where a molecule was extracted from an mmCIF file.

*   An issue was fixed in :ref:`OEProtonateDesignUnit <OESpruce_OEProtonateDesignUnit>` where a rule to flip clashing
    in-plane hydrogens on double bonded nitrogens was triggering incorrectly in specific instances.
    

Spruce TK 1.6.1
================================================================================

New features
--------------------------------------------------------------------------------

*   :ref:`OEBuildSidechains <OESpruce_OEBuildSideChains>` now minimizes target side chains by default. Minimization can
    be controlled by setting :ref:`minimizeSidechains <OESpruce_OESidechainBuilderOptions_SetMinimizeSidechains>` and
    :ref:`minimizeSidechainsShell <OESpruce_OESidechainBuilderOptions_SetMinimizeSidechainsShell>`
    options in the :ref:`OESidechainBuilderOptions <OESpruce_OESidechainBuilderOptions>` class.

*   A feature has been added to support a next generation mmCIF feature, such that when an mmCIF
    file provides a connectivity record for the heterogens, **Spruce** will no longer look
    up the heterogen in the Chemical Component Dictionary but trust the input provided.

*   A feature has been added that allows in-plane flipping of a single hydrogen on a double bonded nitrogen,
    when a clash is detected as part of hydrogen bond network optimization.

Major bug fixes
--------------------------------------------------------------------------------

*   An issue has been fixed related to using the :ref:`OEHeterogenMetadata <OESpruce_OEHeterogenMetadata>` class, where
    the provided SMILES string was
    not respected for tautomer generation; when tautomers were not provided; and when the title (residue name)
    collided with existing residue names in the stored Chemical Component Dictionary.

*   An issue has been fixed related to covalently bound ligands, where the pre-reaction input SMILES and related tautomers
    were not adjusted properly when accounting for the formed covalent bond.

*   An issue has been fixed where the **Spruce** filter deleted single (disconnected) amino acid residues
    when they were marked HETATMs and were not real "floating" residues in part of the regular protein sequence.

Minor bug fixes
--------------------------------------------------------------------------------

*   :ref:`OEMutateResidues <OESpruce_OEMutateResidues>`,
    :ref:`OEMutateResidue <OESpruce_OEMutateResidue>`,
    and :ref:`OEBuildSidechains <OESpruce_OEBuildSideChains>` now reduce failures arising from
    clashes by using shell minimization by default.

*   An issue has been fixed that caused HEME-like molecules to be excluded from
    the stored chemical component database.

Documentation changes
--------------------------------------------------------------------------------

*   Information has been added about setting and getting minimizeSidechains and minimizeSidechainsShell
    options in the :ref:`OESidechainBuilderOptions <OESpruce_OESidechainBuilderOptions>` class.
