Skip to content

Release 0.9.1

Choose a tag to compare

@JoschD JoschD released this 10 Jul 09:49
· 14 commits to master since this release
4726ab1

This patch release fixes the reading of SPS files after the technical stop in 2025, during which the format seems to have been changed. The array MonPlanes in the SDDS file, which before contained 1 if the BPM was vertical and 0 if it was horizontal switched to using 3 for vertical and 0 for horizontal BPMs.

The current implementation now tries to determine the BPM plane not from this array, but from the '.H' and '.V' at the end of the BPM name in the file. Only if this ending is not present - you are able to deactivate it in the writer as this ending is also not present in the SPS model - it will first be checked if 3s are present in the array and then the new format used, otherwise it will be checked if 0s are in the array and then the new format used. Otherwise the reader will raise an informative error.

If you only have vertical BPMs in the old format or only horizontal BPMs in the new format (i.e. your MonPlanes array will consist only of 1s) this will also cause the reader to not be able to determine the format and raise an error.

What's Changed

Full Changelog: 0.9.0...0.9.1