From dbd1a2a1d027f2d6fb7916c7ff5933c7bd2177f8 Mon Sep 17 00:00:00 2001 From: Brandon Hewer <brandon.hewer@stfc.ac.uk> Date: Thu, 5 Oct 2017 17:34:11 +0100 Subject: [PATCH] Update PoldiDataAnalysis-v1.rst --- docs/source/algorithms/PoldiDataAnalysis-v1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/algorithms/PoldiDataAnalysis-v1.rst b/docs/source/algorithms/PoldiDataAnalysis-v1.rst index f11884664ea..7255020fb37 100644 --- a/docs/source/algorithms/PoldiDataAnalysis-v1.rst +++ b/docs/source/algorithms/PoldiDataAnalysis-v1.rst @@ -61,7 +61,7 @@ The algorithm requires relatively little input and can be run like this: cell_a = np.round(cell.cell(0, 1), 5) cell_a_error = np.round(cell.cell(0, 2), 5) - print("Refined lattice parameter a = {} +/- {}".format(cell_a, cell_a_error)) + print("Refined lattice parameter a = {:.5} +/- {}".format(cell_a, cell_a_error)) This will print the following output: -- GitLab