On Sat, Jul 4, 2015 at 12:55 PM, Glynn Clements <[email protected]>
wrote:

>
> Vaclav Petras wrote:
>
> > is there some reason for GRASS parser not checking if the input map
> exists?
> > It checks if the output map exists and if it it does it ends execution
> with
> > 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 <[email protected]>
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to