[GRASS-SVN] r70655 - grass-addons/grass7/raster/r.futures/r.futures.calib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 21 17:42:33 PST 2017
Author: annakrat
Date: 2017-02-21 17:42:33 -0800 (Tue, 21 Feb 2017)
New Revision: 70655
Modified:
grass-addons/grass7/raster/r.futures/r.futures.calib/r.futures.calib.py
Log:
r.futures.calib: fix variable name
Modified: grass-addons/grass7/raster/r.futures/r.futures.calib/r.futures.calib.py
===================================================================
--- grass-addons/grass7/raster/r.futures/r.futures.calib/r.futures.calib.py 2017-02-21 21:14:06 UTC (rev 70654)
+++ grass-addons/grass7/raster/r.futures/r.futures.calib/r.futures.calib.py 2017-02-22 01:42:33 UTC (rev 70655)
@@ -344,8 +344,8 @@
output=development_end)
parameters.update(futures_parameters)
for not_required in ('constrain_weight', 'num_steps', 'incentive_power'):
- if options[not_required]:
- parameters.update({not_required: options[not_required]})
+ if fut_options[not_required]:
+ parameters.update({not_required: fut_options[not_required]})
gcore.run_command('r.futures.pga', flags='s', overwrite=True, **parameters)
More information about the grass-commit
mailing list