From c1d167f2b2db076562025794ed764f37befef476 Mon Sep 17 00:00:00 2001 From: Birm Date: Wed, 15 May 2024 13:40:37 -0400 Subject: [PATCH] radius tuple typo! --- DicomAnnotUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DicomAnnotUtils.py b/DicomAnnotUtils.py index 25d599b..ee109ff 100644 --- a/DicomAnnotUtils.py +++ b/DicomAnnotUtils.py @@ -298,7 +298,7 @@ def dicomToCamic(annot_path, image_dimensions, output_file, source_url=None, sli newFeature = deepcopy(featureTemplate) newFeature['geometry']['type'] = "Ellipse" newFeature['geometry']['coordinates'] = [center_x, center_y] - newFeature['geometry']["radius"] = [major_axis_length,minor_axis_length], + newFeature['geometry']["radius"] = [major_axis_length,minor_axis_length] newFeature['geometry']["rotation"] = rotation newFeature['bound']['type'] = "Point" newFeature['bound']['coordinates'] = [center_x, center_y]