From 2296fbb5d04f4c26b87781c8731a908c2fe51031 Mon Sep 17 00:00:00 2001 From: swittl <simon.wittl@th-deg.de> Date: Fri, 21 Mar 2025 09:56:43 +0100 Subject: [PATCH] typo u -> v --- pyproject.toml | 2 +- src/h5schemas/detector/add_detector.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 36f67a7..e4a6fac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "h5schemas" -version = "0.1.14" +version = "0.1.15" description = "Add your description here" readme = "README.md" authors = [ diff --git a/src/h5schemas/detector/add_detector.py b/src/h5schemas/detector/add_detector.py index fa85970..420769e 100644 --- a/src/h5schemas/detector/add_detector.py +++ b/src/h5schemas/detector/add_detector.py @@ -28,7 +28,7 @@ def add_detector_sample( dst.resize((dst.shape[0] + 1,)) dst[-1,] = detector_image_dimensions_px[1] - dst = h5_file["pixel_pitch_mm/v"] + dst = h5_file["pixel_pitch_mm/u"] dst.resize((dst.shape[0] + 1,)) dst[-1,] = pixel_pitch_mm[0] -- GitLab