summaryrefslogtreecommitdiff
path: root/ricky/params.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-11-29 17:44:05 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-11-29 17:44:05 -0800
commitf3cfd54c876ba3e7540443c2f442d2baa22acef8 (patch)
tree583c088e6f183232ddb21bd86f68c9e7b53ccccf /ricky/params.py
parent9a7bf3bffb2a8459e66b988aaff53611723b5ab4 (diff)
switched to json probabilities
Diffstat (limited to 'ricky/params.py')
-rw-r--r--ricky/params.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ricky/params.py b/ricky/params.py
index 2f6ef33..869c82a 100644
--- a/ricky/params.py
+++ b/ricky/params.py
@@ -20,7 +20,9 @@ class Params(object):
def __str__(self):
"""string representation"""
- return pprint.pformat({"params": map(lambda x: vars(x), self._params)})
+ return pprint.pformat(
+ {"params": map(lambda x: vars(x), self._params)}
+ )
def randomize(self):
"""assign random values to all params, taking into account weight"""
@@ -29,7 +31,6 @@ class Params(object):
continue
param.randomize()
-
@property
def api(self):
"""property setter for im api"""