From df7b5ecc1b7144c77b196f362c9398b6dc7bfd11 Mon Sep 17 00:00:00 2001 From: thouska Date: Wed, 25 Sep 2019 15:05:08 +0200 Subject: [PATCH] Fix typo according for #236 --- setup.py | 4 ++-- spotpy/examples/tutorial_Parameterlist_iterator.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 1b520829..76fb78a8 100644 --- a/setup.py +++ b/setup.py @@ -16,10 +16,10 @@ packages=find_packages(exclude=["tests*", "docs*"]), package_data={ 'spotpy.examples.hymod_exe': ['*'], - 'spotpy.examples.hymod_python': ['*'], 'spotpy.examples.hymod_unix': ['*'], + 'spotpy.examples.hymod_python': ['*'] }, - #include_package_data = True, + include_package_data = True, use_2to3 = True, keywords = 'Monte Carlo, MCMC, MLE, SCE-UA, Simulated Annealing, DE-MCz, DREAM, ROPE, Artifical Bee Colony, DDS, PA-DDS, Uncertainty, Calibration, Model, Signatures', classifiers = [ diff --git a/spotpy/examples/tutorial_Parameterlist_iterator.py b/spotpy/examples/tutorial_Parameterlist_iterator.py index 3f0d4307..63736c08 100644 --- a/spotpy/examples/tutorial_Parameterlist_iterator.py +++ b/spotpy/examples/tutorial_Parameterlist_iterator.py @@ -17,8 +17,8 @@ class spot_setup(object): slow = 1000 def __init__(self): - self.params = [spotpy.parameter.List('x',[1,2,3,4,6,7,8,9,0]), #Give possible x values as a List - spotpy.parameter.List('y',[0,1,2,5,7,8,9,0,1]) #Give possible y values as a List + self.params = [spotpy.parameter.List('x',[1,2,3,4,5,6,7,8,9,0]), #Give possible x values as a List + spotpy.parameter.List('y',[0,1,2,5,6,7,8,9,0,1]) #Give possible y values as a List ] def parameters(self): return spotpy.parameter.generate(self.params) @@ -40,4 +40,4 @@ def objectivefunction(self,simulation,evaluation): sampler=spotpy.algorithms.mc(spot_setup(),dbname='Iterator_example', dbformat='csv') #Parameter lists can be sampled with MC -sampler.sample(10) #Choose equaly or less repetitions as you have parameters in your List \ No newline at end of file +sampler.sample(10) #Choose equaly or less repetitions as you have parameters in your List