[GRASS-dev] pygrass and shorten parameters
Martin Landa
landa.martin at gmail.com
Wed Oct 22 01:49:16 PDT 2014
Hi,
it's seems that currently PyGRASS doesn't support shorten parameters, eg.
Module('v.db.addcolumn', map='p5', col='vymera_ha double')
File "./u01.py", line 27, in compute
Module('v.db.addcolumn', map='p5', col='vymera_ha double')
File "/opt/src/grass70_release/dist.x86_64-unknown-linux-gnu/etc/python/grass/pygrass/modules/interface/module.py",
line 347, in __init__
self.__call__(*args, **kargs)
File "/opt/src/grass70_release/dist.x86_64-unknown-linux-gnu/etc/python/grass/pygrass/modules/interface/module.py",
line 395, in __call__
raise ParameterError('%s is not a valid parameter.' % key)
grass.pygrass.errors.ParameterError: col is not a valid parameter.
Any chance to change this behaviour? Thanks, Martin
--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
More information about the grass-dev
mailing list