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