Skip to content

v1.4.3

Choose a tag to compare

@github-actions github-actions released this 14 Apr 10:05
· 96 commits to master since this release
  • Features

    • Add methods get_bin_edges, get_bin_centers to
      Spectrum2DCollection, making interface consistent with other
      Spectrum classes.
  • Bug fixes

    • Fix tox version number in Pyproject.toml; installation with [ci]
      "extra" was broken.
    • Fix the mode_gradients_unit argument to
      euphonic.readers.castep.read_phonon_dos_data; this was
      returning consistent data/units but ignoring the preference
      expressed in that argument.
  • Maintenance

    • Avoid incompatible-pointer-types in C compilation; this is an
      error in GCC14 and warning in older versions.

    • Moved unit register definition to new "ureg" module. This is to defend against
      internal import loops: users remain welcome to access things via
      from euphonic import ureg, Quantity.

    • Introduced ruff-based linting with a (fair-sized) subset of rules enabled.

      • This cleanup may have introduced some small improvements to error and
        warning messages.

      • The executable bits on some files have changed, for better
        consistency and to express more clearly how they are used.

    • Improved test coverage, removed some unused code