Skip to content

Commit

Permalink
We need to create a list, otherwise, the test break.
Browse files Browse the repository at this point in the history
  • Loading branch information
romulogoncalves committed Apr 11, 2018
1 parent a62a3f9 commit 4e6c865
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ def extract(self, point_cloud, neighborhood, target_point_cloud, target_index, v
:param volume_description: volume object that describes the shape and size of the search volume
:return: feature value
"""
class_neighbors = point_cloud[point]['raw_classification']["data"][neighborhood]
class_neighbors = [point_cloud[point]['raw_classification']["data"][n] for n in neighborhood]

ground_indices = self._get_ground_indices(
class_neighbors, self.ground_tags)
Expand Down

0 comments on commit 4e6c865

Please sign in to comment.