From 3bf1f049944b74b8eb6adbc0c00f2615fe4f1d77 Mon Sep 17 00:00:00 2001 From: Mathieu Doucet <doucetm@ornl.gov> Date: Fri, 15 Apr 2011 19:04:33 +0000 Subject: [PATCH] Prettier output. Re #2586 --- .../scripts/reduction/instruments/sans/absolute_scale.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/scripts/reduction/instruments/sans/absolute_scale.py b/Code/Mantid/scripts/reduction/instruments/sans/absolute_scale.py index 0933fd9dd7c..1e5104472cd 100644 --- a/Code/Mantid/scripts/reduction/instruments/sans/absolute_scale.py +++ b/Code/Mantid/scripts/reduction/instruments/sans/absolute_scale.py @@ -38,7 +38,7 @@ class BaseAbsoluteScale(ReductionStep): """ Do nothing since the scaling factor was set by hand """ - return "Absolute scale factor:", self._scaling_factor + return "Absolute scale factor: %6.4g" % self._scaling_factor class AbsoluteScale(BaseAbsoluteScale): @@ -116,7 +116,7 @@ class AbsoluteScale(BaseAbsoluteScale): self._scaling_factor = 1.0/(det_count/timer/self._attenuator_trans/(monitor/timer)*(pixel_size/sdd)*(pixel_size/sdd)) - return "Absolute scale factor:", self._scaling_factor + return "Absolute scale factor: %6.4g" % self._scaling_factor -- GitLab