From 0427a163c2022b5c333bb36ed5d73c1e961e126d Mon Sep 17 00:00:00 2001 From: Brandon Hewer <brandon.hewer@stfc.ac.uk> Date: Thu, 5 Oct 2017 17:40:05 +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 7255020fb37..2ba86f8a52a 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 = {:.5} +/- {}".format(cell_a, cell_a_error)) + print("Refined lattice parameter a = {:.5f} +/- {}".format(cell_a, cell_a_error)) This will print the following output: -- GitLab