From 0b767e6a0df52a390930eac0b404c02070226d09 Mon Sep 17 00:00:00 2001 From: Piotr Libera Date: Sun, 22 Dec 2024 17:02:41 +0100 Subject: [PATCH] Fix formatting --- wild_visual_navigation/traversability_estimator/nodes.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wild_visual_navigation/traversability_estimator/nodes.py b/wild_visual_navigation/traversability_estimator/nodes.py index 894f30e7..4e998969 100644 --- a/wild_visual_navigation/traversability_estimator/nodes.py +++ b/wild_visual_navigation/traversability_estimator/nodes.py @@ -164,8 +164,12 @@ def clear_debug_data(self): pass # Image already removed def has_debug_data(self): - return hasattr(self, "_image") and self._image is not None and \ - hasattr(self, "_supervision_mask") and self._supervision_mask is not None + return ( + hasattr(self, "_image") + and self._image is not None + and hasattr(self, "_supervision_mask") + and self._supervision_mask is not None + ) def change_device(self, device): """Changes the device of all the class members