Skip to content

Commit ff9a7bf

Browse files
authored
Merge pull request #729 from European-XFEL/changelog-1.24
Release notes for 1.24
2 parents 1c84629 + 491af16 commit ff9a7bf

4 files changed

Lines changed: 31 additions & 3 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ to use in other environments with Python 3:
1919

2020
pip install extra_data
2121

22-
If you get a permissions error, add the `--user` flag to that command.
23-
2422

2523
Contributing
2624
===========

docs/changelog.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
Release Notes
22
=============
33

4+
.. _rel-1.24:
5+
6+
1.24
7+
----
8+
9+
- New options for :ref:`cmd-lsxfel` and :meth:`~.DataCollection.info` to show
10+
data counts for instrument sources, separate from key names (:ghpull:`727`).
11+
- New :option:`lsxfel --source` option to select sources (:ghpull:`727`).
12+
- :ref:`cmd-lsxfel` and :meth:`~.DataCollection.info` will now group together
13+
similar source names, e.g. numbered motors, for a more concise display
14+
(:ghpull:`715`). This can be disabled if necessary.
15+
- New method :meth:`.KeyData.train_index_bounds` to get the start & end location
16+
of each train in an array of data (:ghpull:`704`).
17+
- New virtual overview files will now contain a copy of the ``RUN`` section
18+
from runs, rather than external links, making it faster to scan sources by
19+
device class (:ghpull:`723`).
20+
- Fix getting units in some specific cases, and don't fail in
21+
:meth:`~.KeyData.xarray` if there's an error getting units (:ghpull:`696`).
22+
- Fix :meth:`~.KeyData.data_counts` in with out-of-order train IDs and
23+
``labelled=False`` (:ghpull:`697`).
24+
- Opening many files in a folder in parallel no longer uses forked processes,
25+
avoiding some rare but tricky bugs (:ghpull:`702`).
26+
- Detector :doc:`component classes <agipd_lpd_data>` now warn if they fall back
27+
to raw data without the caller specifying ``raw=True``. This will likely
28+
become an error in the future.
29+
- The identification of raw & corrected data in detector component classes was
30+
made more robust (:ghpull:`713`).
31+
432
.. _rel-1.23.2:
533

634
1.23.2

docs/reading_files.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ below, e.g.::
229229

230230
.. automethod:: train_id_coordinates
231231

232+
.. automethod:: train_index_bounds
233+
232234
.. automethod:: select_trains
233235

234236
.. automethod:: split_trains

extra_data/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
program. If not, see <https://opensource.org/licenses/BSD-3-Clause>
3434
"""
3535

36-
__version__ = "1.23.2"
36+
__version__ = "1.24.0"
3737

3838

3939
from .exceptions import (

0 commit comments

Comments
 (0)