From 70e5bc1f0cb91d1e9cf37486df4b8a135a076da8 Mon Sep 17 00:00:00 2001 From: Master X Date: Thu, 1 Jun 2023 13:54:30 +0500 Subject: [PATCH] Update open3d.py Syntax error --- pyntcloud/io/open3d.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyntcloud/io/open3d.py b/pyntcloud/io/open3d.py index 96c04922..d0b4c23e 100644 --- a/pyntcloud/io/open3d.py +++ b/pyntcloud/io/open3d.py @@ -10,8 +10,7 @@ def from_open3d(o3d_data, **kwargs): raise ImportError("Open3D must be installed. Try `pip install open3d`") if not isinstance(o3d_data, (o3d.geometry.PointCloud, o3d.geometry.TriangleMesh)): - raise TypeError(f"Type {type(o3d_data)} not supported for conversion." - f"Expected {o3d.geometry.PointCloud} or {o3d.geometry.TriangleMesh}") + raise TypeError(f"Type {type(o3d_data)} not supported for conversion. Expected {o3d.geometry.PointCloud} or {o3d.geometry.TriangleMesh}") mesh = None if isinstance(o3d_data, o3d.geometry.TriangleMesh):