From f3cfd54c876ba3e7540443c2f442d2baa22acef8 Mon Sep 17 00:00:00 2001 From: pepperpepperpepper Date: Sun, 29 Nov 2015 17:44:05 -0800 Subject: switched to json probabilities --- ricky/params.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ricky/params.py') 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""" -- cgit v1.2.3-70-g09d2