More resiliant pc-classify

Former-commit-id: 3ad59703d1
pull/1161/head
Piero Toffanin 2020-03-11 13:28:58 +00:00
rodzic 791f936dfa
commit 85ce51741d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ def classify(lasFile, scalar, slope, threshold, window, verbose=False):
try:
pdal.run_pdaltranslate_smrf(lasFile, lasFile, scalar, slope, threshold, window, verbose)
except:
raise Exception("Error creating classified file %s" % fout)
log.ODM_WARNING("Error creating classified file %s" % lasFile)
log.ODM_INFO('Created %s in %s' % (os.path.relpath(lasFile), datetime.now() - start))
return lasFile