[GRASS-dev] Parser checking output maps but not input maps
wenzeslaus at gmail.com
Sat Jul 4 11:08:18 PDT 2015
On Sat, Jul 4, 2015 at 12:55 PM, Glynn Clements <glynn at gclements.plus.com>
> Vaclav Petras wrote:
> > is there some reason for GRASS parser not checking if the input map
> > It checks if the output map exists and if it it does it ends execution
> > an error.
> If an input map (or file) doesn't exist, you'll get an error when the
> module tries to open it.
If I understand correctly, this applies only for C modules not Python or
Bash modules, right? In both cases the error is not associated with the
given option while in case of overwrite it is (which is nice).
If an output map exists, it would just get silently overwritten if it
> wasn't for the checks performed by G_parser().
> Glynn Clements <glynn at gclements.plus.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev