Le Jeudi 22 mars 2018, Vaclav Petras a écrit :
> On Wed, Mar 21, 2018 at 7:57 PM, Nikos Alexandris <n...@nikosalexandris.net>
> wrote:
> >
> > how can I use the 'from' parameter in a python script? The following
> > ```
> > from_range=0,255
> > to_range=0,511
> > cls.runModule('r.rescale', input=band, output=output_map_name,
> >                        from=from_range, to=to_range, overwrite=True)
> > ```
> >
> > causes expectedly
> > ```
> > SyntaxError: invalid syntax
> > ```
> 
> 
> Try `from_`. I'm not sure at this point if it works in a gunittest (which
> you seem to be using).
> 
> Vaclav

I already tried that and it does not work. Yes, trying to build tests for the 
"new" i.rgb.his.

 Thank you, Nikos

-- 
Envoyé depuis mon Jolla
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to