Skip to content
Snippets Groups Projects
Commit d560d842 authored by Joseph Ramsay's avatar Joseph Ramsay
Browse files

Re #20825 Fixed format problem in SaveNXSPE doctest

parent f3de57f8
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ Usage ...@@ -57,7 +57,7 @@ Usage
print("Contents of the first spectrum = {}.".format(in_ws.readY(0))) print("Contents of the first spectrum = {}.".format(in_ws.readY(0)))
print("Initial and loaded workspaces comparison is: {}".format(str(ws_comparison_rez[0]))) print("Initial and loaded workspaces comparison is: {}".format(str(ws_comparison_rez[0])))
run = in_ws.getRun(); run = in_ws.getRun();
print("Loaded workspace has attached incident energy Ei={0:.1f} and rotation angle Psi={1:.1f}deg".format(run.getLogData('Ei').value,run.getLogData('psi').value)) print("Loaded workspace has attached incident energy Ei={0:.1f} and rotation angle Psi= {1:.1f}deg".format(run.getLogData('Ei').value,run.getLogData('psi').value))
.. testcleanup:: ExSimpleSavingRoundtrip .. testcleanup:: ExSimpleSavingRoundtrip
......
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