diff options
Diffstat (limited to 'ep_sampler_fermatspiral.py')
-rw-r--r-- | ep_sampler_fermatspiral.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ep_sampler_fermatspiral.py b/ep_sampler_fermatspiral.py index 05ef68d..7be08c4 100644 --- a/ep_sampler_fermatspiral.py +++ b/ep_sampler_fermatspiral.py @@ -164,9 +164,10 @@ class FermatSpiralSampler(model_allele.Allele): """ post: len(__return__) == 3 """ - head = _("Fermat's spiral sampler: center=%f,%f, start steps=%d, end steps=%d, radian=%f, scaling=%f") \ - % (self.x_center, self.y_center, - self.start, self.end, self.angle, self.c) + head = _("Fermat's spiral sampler: center=%(x_center)f,%(y_center)f, \ + start steps=%(start)d, end steps=%(end)d, radian=%(rad)f, scaling=%(scaling)f") \ + % {'x_center': self.x_center, 'y_center': self.y_center, + 'start': self.start, 'end': self.end, 'rad': self.angle, 'scaling': self.c} return ka_utils.explain_points(head, self.get_sample_points()) def copy(self): |