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

Fix all doctest errors

Refs #20823
parent ef7ce548
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ Usage
LoadCalFile(InputWorkspace=ws,CalFilename=r'PG3_golden.cal',MakeGroupingWorkspace='0',MakeMaskWorkspace='0',WorkspaceName='PG3_gold')
SaveDspacemap(InputWorkspace="PG3_gold_offsets", DspacemapFile=savefilename)
print("File created = {} , file size = {}".format(os.path.exists(savefilename), os.path.getsize(savefilename)))
print("File created = {} , file size = {}".format(os.path.exists(savefilename), os.path.getsize(savefilename)))
.. testcleanup:: ExSavePG3Dmap
......
......@@ -86,7 +86,7 @@ Usage
gfile.close()
# Print out some result
print("Number of lines in GSAS instrument file: {}".format(len(lines))
print("Number of lines in GSAS instrument file: {}".format(len(lines)))
print("Line 0: {}".format(lines[0].strip()))
print("Line 1: {}".format(lines[1].strip()))
print("Line 2: {}".format(lines[2].strip()))
......
......@@ -40,7 +40,7 @@ Usage
# perform the algorithm
SaveILLCosmosAscii(InputWorkspace=ws1,Filename=savefile)
print("File Exists: {}".format(os.path.exists(savefile))
print("File Exists: {}".format(os.path.exists(savefile)))
.. testcleanup:: ExILLCosmosSimple
......
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