Skip to content

Commit

Permalink
Mark v1.7.0 in doc/whatsnew.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Jul 22, 2021
1 parent bc38a72 commit 3aed625
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ What's new
:backlinks: none
:depth: 1

Next release
============
.. Next release
.. ============
v1.7.0 (2021-07-22)
===================

- Add :func:`.computations.interpolate` and supporting :meth:`.AttrSeries.interp` (:pull:`48`).
This code works around issues `pandas#25460 <https://github.com/pandas-dev/pandas/issues/25460>`_ and `pandas#31949 <https://github.com/pandas-dev/pandas/issues/31949>`_.
- :meth:`.Computer.cache` now also invalidates cache if the compiled bytecode of the decorated function changes (:pull:`48`).
- Separate and expand docs of :doc:`cache` to show how to check modification time and/or contents of files (:issue:`49`, :pull:`48`).
- Add :attr:`.Quantity.units` attribute for access to units (:pull:`48`).
- :attr:`.AttrSeries.dims` and :attr:`.AttrSeries.coords` behave like :class:`~xarray.DataArray` for 1-D quantities (:pull:`48`)

v1.6.0 (2021-07-07)
===================
Expand Down
6 changes: 3 additions & 3 deletions genno/computations.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,9 @@ def interpolate(
) -> Quantity:
"""Interpolate `qty`.
For the meaning of arguments, see :meth:`.DataArray.interp`. When :data:`.CLASS` is
:class:`.AttrSeries`, only 1-dimensional interpolation (one key in `coords`) is
tested/supported.
For the meaning of arguments, see :meth:`xarray.DataArray.interp`. When
:data:`.CLASS` is :class:`.AttrSeries`, only 1-dimensional interpolation (one key
in `coords`) is tested/supported.
"""
if assume_sorted is not True:
log.warning(f"interpolate(…, assume_sorted={assume_sorted}) ignored")
Expand Down

0 comments on commit 3aed625

Please sign in to comment.