Skip to content

Commit

Permalink
Merge pull request #70 from legend-exp/ssd
Browse files Browse the repository at this point in the history
Bugfix when parsing borehole taper in SSD extension
  • Loading branch information
fhagemann authored Sep 23, 2024
2 parents 664e8fe + cd78332 commit 8be0c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/LegendDataManagementSolidStateDetectorsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Check warning on line 208 in ext/LegendDataManagementSolidStateDetectorsExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/LegendDataManagementSolidStateDetectorsExt.jl#L203-L208

Added lines #L203 - L208 were not covered by tests
"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]
Expand Down

0 comments on commit 8be0c18

Please sign in to comment.