Change paths management in bulk load
This commit is contained in:
parent
84e8d23d2d
commit
62cac9f534
@ -69,7 +69,10 @@ def bulk_load(path, name=None, filter_treshold=.1, clip_treshold=.5, dtype=None)
|
|||||||
for a in attributes:
|
for a in attributes:
|
||||||
data[a] = list()
|
data[a] = list()
|
||||||
|
|
||||||
|
paths = [path] if isinstance(path, str) else path
|
||||||
|
|
||||||
print('Load data...')
|
print('Load data...')
|
||||||
|
for path in paths:
|
||||||
for f in find_las(path):
|
for f in find_las(path):
|
||||||
print('{}: '.format(f), end='')
|
print('{}: '.format(f), end='')
|
||||||
infile = laspy.file.File(f)
|
infile = laspy.file.File(f)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user