1313limitations under the License.
1414"""
1515
16- import os .path as osp
17-
1816import numpy as np
1917
2018from ppsci .geometry import geometry
@@ -136,7 +134,7 @@ def scale(self, scale):
136134 def uniform_boundary_points (self , n : int ):
137135 """Compute the equispaced points on the boundary."""
138136 raise NotImplementedError (
139- f "PointCloud do not have 'uniform_boundary_points' method"
137+ "PointCloud do not have 'uniform_boundary_points' method"
140138 )
141139
142140 def random_boundary_points (self , n , random = "pseudo" ):
@@ -163,32 +161,32 @@ def random_points(self, n, random="pseudo"):
163161
164162 def union (self , rhs ):
165163 raise NotImplementedError (
166- f "Union operation for PointCloud is not supported yet."
164+ "Union operation for PointCloud is not supported yet."
167165 )
168166
169167 def __or__ (self , rhs ):
170168 raise NotImplementedError (
171- f "Union operation for PointCloud is not supported yet."
169+ "Union operation for PointCloud is not supported yet."
172170 )
173171
174172 def difference (self , rhs ):
175173 raise NotImplementedError (
176- f "Subtraction operation for PointCloud is not supported yet."
174+ "Subtraction operation for PointCloud is not supported yet."
177175 )
178176
179177 def __sub__ (self , rhs ):
180178 raise NotImplementedError (
181- f "Subtraction operation for PointCloud is not supported yet."
179+ "Subtraction operation for PointCloud is not supported yet."
182180 )
183181
184182 def intersection (self , rhs ):
185183 raise NotImplementedError (
186- f "Intersection operation for PointCloud is not supported yet."
184+ "Intersection operation for PointCloud is not supported yet."
187185 )
188186
189187 def __and__ (self , rhs ):
190188 raise NotImplementedError (
191- f "Intersection operation for PointCloud is not supported yet."
189+ "Intersection operation for PointCloud is not supported yet."
192190 )
193191
194192 def __str__ (self ) -> str :
0 commit comments