From cfe0803ac0ae388da4d39082cae0926c7934bc3a Mon Sep 17 00:00:00 2001 From: swittl <simon.wittl@th-deg.de> Date: Thu, 28 Nov 2024 15:24:00 +0100 Subject: [PATCH] add header to get projection --- src/thd_json/projection/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/thd_json/projection/__init__.py b/src/thd_json/projection/__init__.py index eff85a3..749b765 100644 --- a/src/thd_json/projection/__init__.py +++ b/src/thd_json/projection/__init__.py @@ -56,11 +56,10 @@ def get_projection_dict( header, ) - projection["detector"] = get_detector_dict(image_dimensions_px, pixel_pitch_mm) - projection["image"] = {"image_path", str(image_path)} + projection['detector'] = get_detector_dict(image_dimensions_px, pixel_pitch_mm) + projection['image'] = {'image_path', str(image_path)} return projection - if __name__ == "__main__": projection_cli() -- GitLab