[GRASS-SVN] r74477 - grass-addons/grass7/imagery/i.segment.uspo

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 10 07:40:46 PDT 2019


Author: mlennert
Date: 2019-05-10 07:40:46 -0700 (Fri, 10 May 2019)
New Revision: 74477

Modified:
   grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
Log:
i.segment.uspo: wrong indentation level


Modified: grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
===================================================================
--- grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py	2019-05-10 10:26:42 UTC (rev 74476)
+++ grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py	2019-05-10 14:40:46 UTC (rev 74477)
@@ -377,11 +377,11 @@
                         len(autocor_per_raster)
                     result_queue.put([mapname, mean_lv, mean_autocor,
                                       threshold, minsize])
-            else:
-                # If resulting map contains only one segment, then give high
-                # value of variance and 0 for spatial autocorrelation in order
-                # to give this map a low priority
-                result_queue.put([mapname, 999999, 0, threshold, minsize])
+                else:
+                    # If resulting map contains only one segment, then give high
+                    # value of variance and 0 for spatial autocorrelation in order
+                    # to give this map a low priority
+                    result_queue.put([mapname, 999999, 0, threshold, minsize])
 
     except:
         exc_info = sys.exc_info()



More information about the grass-commit mailing list