Skip to content
Snippets Groups Projects
Commit 1b7f4d28 authored by Brandon Hewer's avatar Brandon Hewer Committed by GitHub
Browse files

Update RunPythonScript-v1.rst

parent aced1dc1
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment