[GRASS-SVN] r63493 - grass-addons/grass7/vector/v.surf.nnbathy
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 12 03:45:33 PST 2014
Author: martinl
Date: 2014-12-12 03:45:33 -0800 (Fri, 12 Dec 2014)
New Revision: 63493
Modified:
grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py
Log:
v.surf.nnbathy: option 'column' required for layer != 0
Modified: grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py
===================================================================
--- grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py 2014-12-12 11:40:50 UTC (rev 63492)
+++ grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py 2014-12-12 11:45:33 UTC (rev 63493)
@@ -95,6 +95,9 @@
if options['input'] and not grass.find_file(options['input'], element='vector')['fullname']:
grass.fatal("Vector <%s> not found" % options['input'])
+ if options['input'] and options['layer'] != '0' and not options['column']:
+ grass.fatal("Option 'column' required")
+
if options['file'] and not os.path.isfile(options['file']):
grass.fatal("File %s does not exist" % options['file'])
More information about the grass-commit
mailing list