From d22a4cdb3a16592c5f957cff66c55500e719be4b Mon Sep 17 00:00:00 2001 From: Alex Buts <Alex.Buts@stfc.ac.uk> Date: Tue, 13 Oct 2015 10:44:45 +0100 Subject: [PATCH] Re #13566 Should fix doctest --- docs/source/algorithms/GetAllEi-v1.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/algorithms/GetAllEi-v1.rst b/docs/source/algorithms/GetAllEi-v1.rst index 47f78621cf1..b3d99c3e180 100644 --- a/docs/source/algorithms/GetAllEi-v1.rst +++ b/docs/source/algorithms/GetAllEi-v1.rst @@ -76,7 +76,7 @@ to convert units from TOF to energy. resEi.append((nop,t_peak)); print "! Guess Ei ! peak TOF ! peak height ! peak width !" for ind,val in enumerate(resEi): - print "! {0: >6.2f} ! {1: >6.2f} ! {2: >6.2f} ! {3: >6.2f} !".format(allEi[ind],val[1],peakHeight[ind],peakWidth[ind]) + print "! {0: >6.1f} ! {1: >6.2f} ! {2: >6.2f} ! {3: >6.2f} !".format(allEi[ind],val[1],peakHeight[ind],peakWidth[ind]) # # NOTE: incident energy of GetEi is calculated from distance between monitor 1 and 2, and this distance is not correct in # the test workspace. The important pint is that getEi can find energies from guess values and TOF for peaks is correct. @@ -87,9 +87,9 @@ Output: :options: +NORMALIZE_WHITESPACE ! Guess Ei ! peak TOF ! peak height ! peak width ! - ! 67.05 ! 4188.16 ! 34.68 ! 2.35 ! - ! 124.15 ! 3079.10 ! 14.01 ! 4.35 ! - + ! 67.0 ! 4188.03 ! 34.68 ! 2.35 ! + ! 124.0 ! 3079.09 ! 14.01 ! 4.35 ! + .. categories:: .. sourcelink:: -- GitLab