Skip to content

Commit bed8609

Browse files
bug fix
1 parent 3691984 commit bed8609

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

notebooks/pathomics/microscopy_dicom_ann_intro.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@
298298
"source": [
299299
"# Most essential metadata of the annotation group can be accessed as follows:\n",
300300
"ann_group = ann_groups[0]\n",
301-
"print(f'Unique identifier of the annotation group: {ann_group.annotation_group_uid}')\n",
301+
"print(f'Unique identifier of the annotation group: {ann_group.uid}')\n",
302302
"print(f'Human-readable label of the annotation group: {ann_group.label}')\n",
303-
"print(f'Coded label of the annotated property category: {ann_group.annotated_property_category}')\n",
304-
"print(f'Coded label of the annotated property type: {ann_group.annotated_property_type}') \n",
303+
"print(f'Coded label of the annotated property category: \\n{ann_group.annotated_property_category}')\n",
304+
"print(f'Coded label of the annotated property type: \\n{ann_group.annotated_property_type}') \n",
305305
"print(f'Graphic type of annotations: {ann_group.graphic_type}')\n",
306306
"print(f'Number of annotations: {ann_group.number_of_annotations}')\n",
307307
"print(f'Algorithm type used to generate the annotations: {ann_group.algorithm_type}')"
@@ -337,7 +337,7 @@
337337
"# The actual graphical annotation can be accessed as follows:\n",
338338
"nuclei_annotations = ann_group.get_graphic_data(coordinate_type=ann.annotation_coordinate_type)\n",
339339
"first_ann = nuclei_annotations[0].tolist()\n",
340-
"print(f'First annotation: {first_ann}')"
340+
"print(f'Coordinates of first annotation: {first_ann}')"
341341
]
342342
},
343343
{

0 commit comments

Comments
 (0)