[GRASS-dev] [GRASS GIS] #2409: last call for options keys consolidation

GRASS GIS trac at osgeo.org
Fri Nov 28 00:31:11 PST 2014

#2409: last call for options keys consolidation
 Reporter:  martinl               |       Owner:  grass-dev@…              
     Type:  task                  |      Status:  new                      
 Priority:  blocker               |   Milestone:  7.0.0                    
Component:  Default               |     Version:  unspecified              
 Keywords:  standardized options  |    Platform:  Unspecified              
      Cpu:  Unspecified           |  

Comment(by martinl):

 Replying to [comment:64 annakrat]:

 > But otherwise, I like this better than 'volume', so perhaps we could
 find some workaround for Python scripts and use underscore:
 > {{{
 > >>> gscript.run_command('g.region', _3draster='xxx')
 > }}}
 > This should work, although the underscore before was marked as obsolete,
 in favor of underscore after (for python keywords like map, input). But we
 can make an exception for keywords starting with numbers.

 OK, I changed element name from 'volume' to '3draster' in r63218.

Ticket URL: <http://trac.osgeo.org/grass/ticket/2409#comment:66>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list