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]