[GRASS-SVN] r69466 - grass-addons/grass7/imagery/i.segment.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 13 05:44:09 PDT 2016
Author: mlennert
Date: 2016-09-13 05:44:08 -0700 (Tue, 13 Sep 2016)
New Revision: 69466
Modified:
grass-addons/grass7/imagery/i.segment.stats/i.segment.stats.py
Log:
i.segment.stats: corrected small error in previous commit
Modified: grass-addons/grass7/imagery/i.segment.stats/i.segment.stats.py
===================================================================
--- grass-addons/grass7/imagery/i.segment.stats/i.segment.stats.py 2016-09-13 09:14:01 UTC (rev 69465)
+++ grass-addons/grass7/imagery/i.segment.stats/i.segment.stats.py 2016-09-13 12:44:08 UTC (rev 69466)
@@ -139,7 +139,7 @@
gscript.run_command('g.region', raster=segment_map)
stats_temp_file = gscript.tempfile()
- if area_measures
+ if area_measures:
gscript.message(_("Calculating geometry statistics"))
output_header += area_measures
stat_indices = [geometry_stat_dict[x] for x in area_measures]
More information about the grass-commit
mailing list