[GRASS-SVN] r67979 - grass-addons/grass7/imagery/i.segment.uspo
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 29 13:45:50 PST 2016
Author: mlennert
Date: 2016-02-29 13:45:49 -0800 (Mon, 29 Feb 2016)
New Revision: 67979
Modified:
grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
Log:
i.segment.uspo: Strip @ off region names to be able to use them in map names
Modified: grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
===================================================================
--- grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-02-29 19:57:15 UTC (rev 67978)
+++ grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-02-29 21:45:49 UTC (rev 67979)
@@ -531,7 +531,7 @@
minsizes = range(start,stop,step)
if options['regions']:
- regions = options['regions'].split(',')
+ regions = [r.split('@')[0] for r in options['regions'].split(',')]
else:
regions = False
More information about the grass-commit
mailing list