[GRASS-dev] [GRASS GIS] #1811: Save details from graphical modeler variables panel as g.parser comments in Python file

GRASS GIS trac at osgeo.org
Fri Nov 23 15:51:54 PST 2012


#1811: Save details from graphical modeler variables panel as g.parser comments in
Python file
-------------------------+--------------------------------------------------
 Reporter:  robintw      |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  modeler      |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 The details for variables given in the Variables tab of the Graphical
 Modeler allow a wxGUI for the model to be generated when the run button is
 clicked. However, when exporting to a Python script this won't work. Thus,
 I propose adding g.parser comments to the exported Python script to allow
 wxGUI (as well as command-line help etc) to be generated for models from
 the Graphical Modeler.

 Looking at the Python code generated, this may require more complex work
 to use the full options/flags provided by grass.parser() in the Python
 scripts generated by the Graphical Modeler.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1811>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list