Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ep_sampler_logarithmicspiral.py
diff options
context:
space:
mode:
Diffstat (limited to 'ep_sampler_logarithmicspiral.py')
-rw-r--r--ep_sampler_logarithmicspiral.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ep_sampler_logarithmicspiral.py b/ep_sampler_logarithmicspiral.py
index df9917e..a29c518 100644
--- a/ep_sampler_logarithmicspiral.py
+++ b/ep_sampler_logarithmicspiral.py
@@ -176,9 +176,10 @@ class LogarithmicSpiralSampler(model_allele.Allele):
"""
post: len(__return__) == 3
"""
- head = _('Logarithmic spiral sampler: center=%f,%f, revolutions=%f, steps per revolution=%d, a=%f, b=%f') \
- % (self.x_center, self.y_center,
- self.turns, self.steps, self.a, self.b)
+ head = _('Logarithmic spiral sampler: center=%(x_center)f,%(y_center)f,\
+ revolutions=%(rev)f, steps per revolution=%(steps)d, a=%(a)f, b=%(b)f') \
+ % {'x_center': self.x_center, 'y_center': self.y_center,
+ 'rev': self.turns, 'steps': self.steps, 'a': self.a, 'b': self.b}
return ka_utils.explain_points(head, self.get_sample_points())
def copy(self):