Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
plibera committed Dec 22, 2024
1 parent be876c4 commit 0b767e6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions wild_visual_navigation/traversability_estimator/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b767e6

Please sign in to comment.