We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f161adc commit 5ee8f72Copy full SHA for 5ee8f72
pdal/pio.py
@@ -38,7 +38,8 @@ def pipeline(self):
38
return output
39
40
def __getattr__(self, name):
41
- assert name in dir(self), "Invalid or unsupported stage"
+ if name not in dir(self):
42
+ raise AttributeError(f"'{self.prefix}.{name}' is an invalid or unsupported PDAL stage")
43
return partial(self.__class__, self.prefix, type=name)
44
45
def __str__(self):
0 commit comments