[GRASS-SVN] r72635 - grass/trunk/temporal/t.rast.what
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 18 05:27:39 PDT 2018
Author: sbl
Date: 2018-04-18 05:27:39 -0700 (Wed, 18 Apr 2018)
New Revision: 72635
Modified:
grass/trunk/temporal/t.rast.what/t.rast.what.py
Log:
fix header and indentation for one_point_per_col_output; see #3546
Modified: grass/trunk/temporal/t.rast.what/t.rast.what.py
===================================================================
--- grass/trunk/temporal/t.rast.what/t.rast.what.py 2018-04-18 12:26:28 UTC (rev 72634)
+++ grass/trunk/temporal/t.rast.what/t.rast.what.py 2018-04-18 12:27:39 UTC (rev 72635)
@@ -402,7 +402,7 @@
cat = row[0]
x = row[1]
y = row[2]
- out_str += "{sep}{cat}{sep}{x:10.10f};" \
+ out_str += "{sep}{cat}{sep}{x:10.10f}{sep}" \
"{y:10.10f}".format(cat=cat, x=float(x),
y=float(y),
sep=separator)
@@ -421,7 +421,7 @@
out_str += "{sep}{site}".format(sep=separator,
site=site)
- out_file.write(out_str + "\n")
+ out_file.write(out_str + "\n")
first = False
More information about the grass-commit
mailing list