:release-tag:`0.8.0`
====================
.. warning::
Serpent 1 detectors are no longer supported - :issue:`327`.
Version 0.9.0 will remove support for python 2 - :issue:`328`
* Better handling of discontinuity factors - :pull:`329`
* |HomogUniv| objects no longer automatically convert data to arrays
* Serpent 2.1.31 is the default version for :ref:`serpentVersion` setting
* Detectors and related subclasses are now standalone classes that can be
imported as ``serpentTools.Detector`` - :pull:`341`
* :class:`~serpentTools.objects.BranchContainer` now inherits from
:class:`dict` - :pull:`344`
* Keys for universes in ``ResultsReader.universes`` are
:class:`~serpentTools.objects.UnivTuple`
* Keys for microscopic cross sections in ``MicroXSReader.xsVal`` and
``MicroXSReader.xsUnc`` are :class:`~serpentTools.MicroXSTuple`
* Spread plots for sampled detector and depletion containers allow
changing how the mean data and sampled data are plotted by passing
dictionary of matplotlib commands, e.g.
``meanKwargs={"c": "r", "marker": x"}`` would plot the mean data in
red with crosses as markers.
.. _v0.8.0-bug:
Bug Fixes
---------
* Burnup and days are properly set on homogenized universes when reading a
result file with multiple universes but no burnup - :pull:`346`
* Modifications made to detector tally data will be reflected in later
plots - :issue:`337`, :pull:`341`
* Variable groups for version 2.1.31 are properly expanded - :pull:`347`
.. _v0.8.0-api:
Incompatible API Changes
------------------------
* Values are stored in array form on |HomogUniv| when it makes sense.
For example, values like ``infKinf`` are stored as scalars.
* Setting ``expectGcu`` has been removed as :pull:`324` fixed how files without
group constants are handled.
* Keys to |BranchedUniv| objects stored in
:attr:`serpentTools.xs.BranchCollector.universes` are stored as strings,
rather than integers, e.g. ``0`` is replaced with ``"0"`` - :pull:`321`
* Keys to |HomogUniv| instances stored on
:class:`~serpentTools.objects.BranchContainer` are now
:class:`~serpentTools.objects.UnivTuple`, or tuples with
``universe, burnup, step, days`` - :pull:`344`
* :class:`serpentTools.Detector.indexes` is now a tuple of strings
describing each dimension of ``tallies`` rather than ``OrderedDict``
- :pull:`341`