[GRASS-SVN] r71141 - grass-addons/grass7/vector/v.class.mlR

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 25 07:10:04 PDT 2017


Author: mlennert
Date: 2017-05-25 07:10:03 -0700 (Thu, 25 May 2017)
New Revision: 71141

Modified:
   grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py
Log:
v.class.mlR: even more filepath cleaning for windows

Modified: grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py
===================================================================
--- grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py	2017-05-25 11:06:13 UTC (rev 71140)
+++ grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py	2017-05-25 14:10:03 UTC (rev 71141)
@@ -352,7 +352,7 @@
                             quiet=True,
                             overwrite=True)
     else:
-        feature_vars = allfeatures
+        feature_vars = allfeatures.replace("\\", "/")
 
     if trainmap:
         training_vars = gscript.tempfile()
@@ -364,7 +364,7 @@
                             quiet=True,
                             overwrite=True)
     else:
-        training_vars = training
+        training_vars = training.replace("\\", "/")
 
     r_commands = gscript.tempfile()
 



More information about the grass-commit mailing list