From dc33c5564c4822c10df8b80cd2797a2fa0197d51 Mon Sep 17 00:00:00 2001 From: Sascha Heckmann <59727822+sahehb@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:36:39 +0200 Subject: [PATCH] spaces corrected --- .../dataobjects/contours/contourexample7.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mevislab.github.io/content/tutorials/dataobjects/contours/contourexample7.md b/mevislab.github.io/content/tutorials/dataobjects/contours/contourexample7.md index 3af2a47eb..63244b294 100644 --- a/mevislab.github.io/content/tutorials/dataobjects/contours/contourexample7.md +++ b/mevislab.github.io/content/tutorials/dataobjects/contours/contourexample7.md @@ -120,12 +120,12 @@ def registerForNotification(): def csoFinished(_arg): csoList = _getCSOList() for cso in csoList.getCSOs(): - cso.removeFromAllGroups() - csoArea = cso.getArea() - csoGroup = csoList.getGroupByLabel("large") - if csoArea <= _getAreaThreshold(): - csoGroup = csoList.getGroupByLabel("small") - csoGroup.addCSO(cso.getId()) + cso.removeFromAllGroups() + csoArea = cso.getArea() + csoGroup = csoList.getGroupByLabel("large") + if csoArea <= _getAreaThreshold(): + csoGroup = csoList.getGroupByLabel("small") + csoGroup.addCSO(cso.getId()) def _getAreaThreshold(): return ctx.field("areaThreshold").value @@ -165,12 +165,12 @@ def registerForNotification(): def csoFinished(_arg): csoList = _getCSOList() for cso in csoList.getCSOs(): - cso.removeFromAllGroups() - csoArea = cso.getArea() - csoGroup = csoList.getGroupByLabel("large") - if csoArea <= _getAreaThreshold(): - csoGroup = csoList.getGroupByLabel("small") - csoGroup.addCSO(cso.getId()) + cso.removeFromAllGroups() + csoArea = cso.getArea() + csoGroup = csoList.getGroupByLabel("large") + if csoArea <= _getAreaThreshold(): + csoGroup = csoList.getGroupByLabel("small") + csoGroup.addCSO(cso.getId()) def _getAreaThreshold(): return ctx.field("areaThreshold").value