diff --git a/docs/source/algorithms/RunPythonScript-v1.rst b/docs/source/algorithms/RunPythonScript-v1.rst index ea1888422f5f5c75d71bf53070650dc88a9f9aff..3ef644b912c8a202c172c737be8505b57580888e 100644 --- a/docs/source/algorithms/RunPythonScript-v1.rst +++ b/docs/source/algorithms/RunPythonScript-v1.rst @@ -41,7 +41,7 @@ Usage RunPythonScript(InputWorkspace=ws,Code=script,OutputWorkspace="wsOut") wsOut = mtd["wsOut"] - print("The workspace contained a total of {:d} counts".format(wsOut.readY(0)[0])) + print("The workspace contained a total of {:d} counts".format(int(wsOut.readY(0)[0]))) Output: