On Wed, Oct 22, 2014 at 11:12 AM, Martin Landa <[email protected]> wrote: > there is also another issue where pyGRASS seems to be too much strict, eg. > > Module('d.vect', map='p6', type='point', color='purple', > icon='basic/star', size=10) > > fails with > > File "./u01.py", line 37, in compute > Module('d.vect', map='p6', type='point', color='purple', > icon='basic/star', size=10) > [cut] > TypeError: The Parameter <size>, require: float, get: <type 'int'> instead > > The reason is that pyGRASS expects 'size' given as a float and not > integer. PyGRASS should do casting in this case automatically. Martin
This is fixed in grass71, should be backported. _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
