Skip to content

Commit

Permalink
format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
true-real-michael committed Nov 10, 2023
1 parent 1762150 commit 348f549
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 3 additions & 1 deletion octreelib/grid/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def insert_points(self, pose_number: int, points: RawPointCloud):
)

self.__pose_voxel_coordinates[pose_number].append(voxel_coordinates)
self.__octrees[voxel_coordinates_hash].insert_points(pose_number, voxel_points)
self.__octrees[voxel_coordinates_hash].insert_points(
pose_number, voxel_points
)

def map_leaf_points(self, function: Callable[[RawPointCloud], RawPointCloud]):
"""
Expand Down
7 changes: 1 addition & 6 deletions octreelib/internal/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
import numpy.typing as npt


__all__ = [
"RawPoint",
"RawPointCloud",
"CloudManager"
]
__all__ = ["RawPoint", "RawPointCloud", "CloudManager"]

"""
RawPoint and RawPointCloud are intended to be used in the methods
Expand Down Expand Up @@ -100,4 +96,3 @@ def __generate_children():
clouds.append(new_cloud)

return clouds

0 comments on commit 348f549

Please sign in to comment.