From e8402d9d36f33ac99ba4fd6c7a7ba354cc472127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Fr=C3=B6jdh?= Date: Fri, 21 Nov 2025 16:14:05 +0100 Subject: [PATCH 1/2] updated version and version script --- VERSION | 2 +- etc/update_version.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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.") From 452cfcb60fe54b3bc17322b5b4d42712d82a75f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Fr=C3=B6jdh?= Date: Fri, 21 Nov 2025 16:17:04 +0100 Subject: [PATCH 2/2] updated release notes --- RELEASE.md | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) 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