[GRASS-SVN] r72759 - grass-addons/grass7/vector/v.class.mlR
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 2 07:12:15 PDT 2018
Author: mlennert
Date: 2018-06-02 07:12:15 -0700 (Sat, 02 Jun 2018)
New Revision: 72759
Modified:
grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py
Log:
v.class.mlR: more sanitization of file paths for R in Windows (thanks to Helmut)
Modified: grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py
===================================================================
--- grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py 2018-06-01 11:52:41 UTC (rev 72758)
+++ grass-addons/grass7/vector/v.class.mlR/v.class.mlR.py 2018-06-02 14:12:15 UTC (rev 72759)
@@ -316,11 +316,11 @@
classification_results = None
if options['classification_results']:
- classification_results = options['classification_results']
+ classification_results = options['classification_results'].replace("\\", "/")
model_details = None
if options['model_details']:
- model_details = options['model_details']
+ model_details = options['model_details'].replace("\\", "/")
raster_segments_map = None
if options['raster_segments_map']:
@@ -336,11 +336,11 @@
accuracy_file = None
if options['accuracy_file']:
- accuracy_file = options['accuracy_file']
+ accuracy_file = options['accuracy_file'].replace("\\", "/")
bw_plot_file = None
if options['bw_plot_file']:
- bw_plot_file = options['bw_plot_file']
+ bw_plot_file = options['bw_plot_file'].replace("\\", "/")
if allmap:
feature_vars = gscript.tempfile().replace("\\", "/")
More information about the grass-commit
mailing list