From cd783327dfb3a78016122a17ff5bd20df638e39d Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Mon, 23 Sep 2024 22:36:04 +0200 Subject: [PATCH] Bug fix when parsing borehole tapers --- ext/LegendDataManagementSolidStateDetectorsExt.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/LegendDataManagementSolidStateDetectorsExt.jl b/ext/LegendDataManagementSolidStateDetectorsExt.jl index 500a9bc..93ea962 100644 --- a/ext/LegendDataManagementSolidStateDetectorsExt.jl +++ b/ext/LegendDataManagementSolidStateDetectorsExt.jl @@ -207,8 +207,8 @@ function create_SSD_config_dict_from_LEGEND_metadata(meta::PropDict, xtal_meta:: r_out_top = r_center + Δr * (1 + 2*gap/hZ) push!(semiconductor_geometry_subtractions, dicttype("cone" => dicttype( "r" => dicttype( - "from" => r_out_bot, - "to" => r_out_top + "bottom" => r_out_bot, + "top" => r_out_top ), "h" => 2 * hZ, "origin" => [0, 0, crystal_height - borehole_taper_height / 2 + gap]