[GRASS-SVN] r72647 - grass-addons/grass7/vector/v.gsflow.grid

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 25 14:15:15 PDT 2018


Author: awickert
Date: 2018-04-25 14:15:15 -0700 (Wed, 25 Apr 2018)
New Revision: 72647

Modified:
   grass-addons/grass7/vector/v.gsflow.grid/v.gsflow.grid.py
Log:
v.gsflow.grid: 1 fewer parameter for new GRASS


Modified: grass-addons/grass7/vector/v.gsflow.grid/v.gsflow.grid.py
===================================================================
--- grass-addons/grass7/vector/v.gsflow.grid/v.gsflow.grid.py	2018-04-25 12:05:07 UTC (rev 72646)
+++ grass-addons/grass7/vector/v.gsflow.grid/v.gsflow.grid.py	2018-04-25 21:15:15 UTC (rev 72647)
@@ -286,7 +286,7 @@
                     _x = bc_x + dx * (int(_col1) - bc_col) # col 1 at w edge
                     _y = bc_y - dy * (int(_row1) - bc_row) # row 1 at n edge
                     point0 = Point(_x,_y)
-                    bcvect.write(point0, cat=_cat_i, attrs=(None, None, _row1, _col1, _x, _y), )
+                    bcvect.write(point0, cat=_cat_i, attrs=(None, _row1, _col1, _x, _y), )
                     bcvect.table.conn.commit()
                     _cat_i += 1
                 if not _ismask_2:
@@ -294,7 +294,7 @@
                     _x = bc_x + dx * (int(_col2) - bc_col) # col 1 at w edge
                     _y = bc_y - dy * (int(_row2) - bc_row) # row 1 at n edge
                     point0 = Point(_x,_y)
-                    bcvect.write(point0, cat=_cat_i, attrs=(None, None, _row2, _col2, _x, _y), )            
+                    bcvect.write(point0, cat=_cat_i, attrs=(None, _row2, _col2, _x, _y), )            
                     bcvect.table.conn.commit()
                 # Build database table and vector geometry
                 bcvect.build()



More information about the grass-commit mailing list