Opened 7 years ago

Last modified 8 months ago

#1811 new enhancement

Save details from graphical modeler variables panel as g.parser comments in Python file

Reported by: robintw Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: wxGUI Version: svn-trunk
Keywords: modeler Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (8)

comment:1 Changed 4 years ago by martinl

Milestone: 7.0.07.0.5

comment:2 Changed 3 years ago by martinl

Milestone: 7.0.57.3.0

comment:3 Changed 3 years ago by martinl

Milestone: 7.3.07.4.0

Milestone renamed

comment:4 Changed 22 months ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:5 Changed 17 months ago by neteler

Milestone: 7.4.17.4.2

comment:6 Changed 14 months ago by martinl

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:7 Changed 10 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:8 Changed 8 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.