Merge branch 'main' into fix/cmake_fix_compile_width_position_independent_code

This commit is contained in:
2025-09-05 14:11:33 +02:00
4 changed files with 12 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
# Release notes # Release notes
### head ### 2025.8.22
Features: Features:
@@ -16,7 +16,7 @@ Bugfixes:
- Now using glibc 2.17 in conda builds (was using the host) - Now using glibc 2.17 in conda builds (was using the host)
- Fixed shifted pixels in clusters close to the edge of a frame - Fixed shifted pixels in clusters close to the edge of a frame
### 2025.07.18 ### 2025.7.18
Features: Features:
@@ -30,7 +30,7 @@ Bugfixes:
- Removed unused file: ClusterFile.cpp - Removed unused file: ClusterFile.cpp
### 2025.05.22 ### 2025.5.22
Features: Features:

View File

@@ -1 +1 @@
2025.7.18 2025.8.22

View File

@@ -46,14 +46,13 @@ def ClusterFinderMT(image_size, cluster_size = (3,3), dtype=np.int32, n_sigma=5,
return cls(image_size, n_sigma=n_sigma, capacity=capacity, n_threads=n_threads) return cls(image_size, n_sigma=n_sigma, capacity=capacity, n_threads=n_threads)
def ClusterCollector(clusterfindermt, dtype=np.int32):
def ClusterCollector(clusterfindermt, cluster_size = (3,3), dtype=np.int32):
""" """
Factory function to create a ClusterCollector object. Provides a cleaner syntax for Factory function to create a ClusterCollector object. Provides a cleaner syntax for
the templated ClusterCollector in C++. the templated ClusterCollector in C++.
""" """
cls = _get_class("ClusterCollector", cluster_size, dtype) cls = _get_class("ClusterCollector", clusterfindermt.cluster_size, dtype)
return cls(clusterfindermt) return cls(clusterfindermt)
def ClusterFileSink(clusterfindermt, cluster_file, dtype=np.int32): def ClusterFileSink(clusterfindermt, cluster_file, dtype=np.int32):

View File

@@ -7,6 +7,7 @@ Script to update VERSION file with semantic versioning if provided as an argumen
import sys import sys
import os import os
import re import re
from datetime import datetime
from packaging.version import Version, InvalidVersion from packaging.version import Version, InvalidVersion
@@ -26,8 +27,8 @@ def get_version():
# Check at least one argument is passed # Check at least one argument is passed
if len(sys.argv) < 2: if len(sys.argv) < 2:
return "0.0.0" version = datetime.today().strftime('%Y.%-m.%-d')
else:
version = sys.argv[1] version = sys.argv[1]
try: try: