[GRASS-SVN] r64395 - grass-addons/grass7/raster/r.fidimo

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 2 05:22:01 PST 2015


Author: jradinger
Date: 2015-02-02 05:22:01 -0800 (Mon, 02 Feb 2015)
New Revision: 64395

Modified:
   grass-addons/grass7/raster/r.fidimo/r.fidimo.py
Log:
random.seed key paramater repaired

Modified: grass-addons/grass7/raster/r.fidimo/r.fidimo.py
===================================================================
--- grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2015-02-02 12:23:13 UTC (rev 64394)
+++ grass-addons/grass7/raster/r.fidimo/r.fidimo.py	2015-02-02 13:22:01 UTC (rev 64395)
@@ -723,10 +723,10 @@
 				
 				#if Random Value within Confidence Interval than select a sigma value that is within the CI assuming a normal distribution of sigma within the CI
 				if str(options['statistical_interval']) == "Random Value within Confidence Interval":
-					random.seed(seed=int(options['seed1']))
+					random.seed(int(options['seed1']))
 					sigma_stat = random.gauss(mu=fishmove.rx("fit",'sigma_stat',1,1,SO,1)[0],
 							sigma=(fishmove.rx("upr",'sigma_stat',1,1,SO,1)[0]-fishmove.rx("lwr",'sigma_stat',1,1,SO,1)[0])/4)
-					random.seed(seed=int(options['seed1']))
+					random.seed(int(options['seed1']))
 					sigma_mob = random.gauss(mu=fishmove.rx("fit",'sigma_mob',1,1,SO,1)[0],
 							sigma=(fishmove.rx("upr",'sigma_mob',1,1,SO,1)[0]-fishmove.rx("lwr",'sigma_mob',1,1,SO,1)[0])/4)
 				else:



More information about the grass-commit mailing list