[GRASS-SVN] r70962 - grass-addons/grass7/raster/r.learn.ml

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 26 19:18:39 PDT 2017


Author: spawley
Date: 2017-04-26 19:18:39 -0700 (Wed, 26 Apr 2017)
New Revision: 70962

Modified:
   grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py
   grass-addons/grass7/raster/r.learn.ml/r_learn_utils.py
Log:
r.learn.ml added absolute import 

Modified: grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py
===================================================================
--- grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py	2017-04-26 21:53:38 UTC (rev 70961)
+++ grass-addons/grass7/raster/r.learn.ml/r.learn.ml.py	2017-04-27 02:18:39 UTC (rev 70962)
@@ -326,6 +326,7 @@
 #% exclusive: trainingpoints,load_training
 #%end
 
+from __future__ import absolute_import
 import atexit
 import os
 import itertools

Modified: grass-addons/grass7/raster/r.learn.ml/r_learn_utils.py
===================================================================
--- grass-addons/grass7/raster/r.learn.ml/r_learn_utils.py	2017-04-26 21:53:38 UTC (rev 70961)
+++ grass-addons/grass7/raster/r.learn.ml/r_learn_utils.py	2017-04-27 02:18:39 UTC (rev 70962)
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 # -- coding: utf-8 --
 
+from __future__ import absolute_import
 import numpy as np
 import os
 import tempfile



More information about the grass-commit mailing list