Commit de87da15 authored by Valentin Valls's avatar Valentin Valls
Browse files

Fix bug with label on dict ROI

parent 855bbf30
Pipeline #39077 passed with stages
in 86 minutes and 46 seconds
......@@ -487,7 +487,7 @@ class ShapesSelector(Selector):
w, h = map(int, map(round, shape["size"]))
roi = RectangleROI()
roi.setGeometry(origin=(x, y), size=(w, h))
roi.setName(shape.get["label"])
roi.setName(shape["label"])
elif isinstance(shape, lima_roi.RoiProfile):
if shape.mode == "horizontal":
roi = extra_rois.LimaHProfileRoi()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment