kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
f5602f1b55
commit
c13a6be18c
|
@ -17,6 +17,7 @@ try:
|
||||||
typ = sys.argv[2]
|
typ = sys.argv[2]
|
||||||
(fileRoot, fileExt) = os.path.splitext(file)
|
(fileRoot, fileExt) = os.path.splitext(file)
|
||||||
outFileName = fileRoot + "_" + typ + fileExt
|
outFileName = fileRoot + "_" + typ + fileExt
|
||||||
|
isinstance(typ, ['vari', 'tgi', 'ngrdi'])
|
||||||
except (TypeError, IndexError, NameError):
|
except (TypeError, IndexError, NameError):
|
||||||
print bcolors.FAIL + 'Arguments messed up. Check arguments order and index name' + bcolors.ENDC
|
print bcolors.FAIL + 'Arguments messed up. Check arguments order and index name' + bcolors.ENDC
|
||||||
print 'Usage: ./vegind.py orto index'
|
print 'Usage: ./vegind.py orto index'
|
||||||
|
|
Ładowanie…
Reference in New Issue