diff --git a/RELEASE.md b/RELEASE.md index 78fb687..76f9636 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,8 +1,8 @@ # Release notes -This document describes the difference between Release 2025.8.22 and RELEASE_DATE. -## Changes: + +### 2025.11.21 ### New Features: @@ -35,6 +35,45 @@ This document describes the difference between Release 2025.8.22 and RELEASE_DAT - eta stores corner as enum class cTopLeft, cTopRight, BottomLeft, cBottomRight indicating 2x2 subcluster with largest energy relative to cluster center - max_sum_2x2 returns corner as index +### 2025.8.22 + +Features: + +- Apply calibration works in G0 if passes a 2D calibration and pedestal +- count pixels that switch +- calculate pedestal (also g0 version) +- NDArray::view() needs an lvalue to reduce issues with the view outliving the array + + +Bugfixes: + +- Now using glibc 2.17 in conda builds (was using the host) +- Fixed shifted pixels in clusters close to the edge of a frame + +### 2025.7.18 + +Features: + +- Cluster finder now works with 5x5, 7x7 and 9x9 clusters +- Added ClusterVector::empty() member +- Added apply_calibration function for Jungfrau data + +Bugfixes: +- Fixed reading RawFiles with ROI fully excluding some sub files. +- Decoding of MH02 files placed the pixels in wrong position +- Removed unused file: ClusterFile.cpp + + +### 2025.5.22 + +Features: + +- Added scurve fitting + +Bugfixes: + +- Fixed crash when opening raw files with large number of data files + ## Download, Documentation & Support ### Download diff --git a/VERSION b/VERSION index 3469ebe..1e01f05 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2025.8.22 \ No newline at end of file +2025.11.21 \ No newline at end of file diff --git a/etc/update_version.py b/etc/update_version.py index 15eb869..78eea2a 100644 --- a/etc/update_version.py +++ b/etc/update_version.py @@ -8,11 +8,12 @@ import sys import os import re from datetime import datetime +from pathlib import Path from packaging.version import Version, InvalidVersion -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) +SCRIPT_DIR = Path(__file__).absolute().parent.parent def is_integer(value): try: @@ -46,7 +47,8 @@ def get_version(): def write_version_to_file(version): - version_file_path = os.path.join(SCRIPT_DIR, "VERSION") + version_file_path = SCRIPT_DIR/"VERSION" + print(version_file_path) with open(version_file_path, "w") as version_file: version_file.write(version) print(f"Version {version} written to VERSION file.")