diff --git a/labelCloud/__init__.py b/labelCloud/__init__.py index a5f830a..bc8c296 100644 --- a/labelCloud/__init__.py +++ b/labelCloud/__init__.py @@ -1 +1 @@ -__version__ = "0.7.1" +__version__ = "0.7.2" diff --git a/labelCloud/control/pcd_manager.py b/labelCloud/control/pcd_manager.py index 1ce543d..d1d24cc 100644 --- a/labelCloud/control/pcd_manager.py +++ b/labelCloud/control/pcd_manager.py @@ -96,8 +96,10 @@ def read_pointcloud_folder(self) -> None: "Please set the point cloud folder to a location that contains point cloud files." ) self.pointcloud = self.load_pointcloud( - pkg_resources.resource_filename( - "labelCloud.resources", "labelCloud_icon.pcd" + Path( + pkg_resources.resource_filename( + "labelCloud.resources", "labelCloud_icon.pcd" + ) ) ) self.update_pcd_infos(pointcloud_label=" – (select folder!)") @@ -160,7 +162,7 @@ def save_current_perspective(self, active: bool = True) -> None: logging.info("Reset saved perspective.") # MANIPULATOR - def load_pointcloud(self, path_to_pointcloud: str) -> PointCloud: + def load_pointcloud(self, path_to_pointcloud: Path) -> PointCloud: start_section(f"Loading {path_to_pointcloud.name}") if config.getboolean("USER_INTERFACE", "keep_perspective"):