Hi,
2009/9/14 Glynn Clements <[email protected]>:
[...]
> The existing grass.mapcalc() function won't work in 6.4. That function
> shouldn't have been backported from 7.0, as it requires the 7.0
> version of r.mapcalc (which uses G_parser()).
>
> It needs something like:
>
> - if run_command('r.mapcalc', expression = e) != 0:
> + if write_command('r.mapcalc', stdin = e) != 0:
>
> Either that, or use call(['r.mapcalc', expression]).
right, hopefully fixed in r39203.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev