Skip to content

Commit

Permalink
Fix typos in child alg names
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardWaiteSTFC committed Sep 18, 2024
1 parent 6162aa9 commit c4cf0e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def loadUBFiles(self, ubFiles, omegaHand, phiHand, omegaLogName, phiLogName):
tmpWS = self.exec_child_alg("CreateSampleWorkspace")
if dataPath[-4:] == ".raw":
# assume log is kept separately in a .log file with same path
self.exec_child_alg("CreateSampleWorkspace", Workspace=tmpWS, Filename="".join(dataPath[:-4] + ".log"))
self.exec_child_alg("LoadLog", Workspace=tmpWS, Filename="".join(dataPath[:-4] + ".log"))
elif dataPath[-4:] == ".nxs":
# logs are kept with data in nexus file
self.exec_child_alg("LoadNexusLogs", Workspace=tmpWS, Filename=dataPath)
Expand Down Expand Up @@ -259,7 +259,7 @@ def createGoniometerTable(self):
"""
:return: Empty table workspace with columns Run, Chi, Phi and GonioAxis (unit vector)
"""
gonioTable = self.exec_child_alg(" CreateEmptyTableWorkspace")
gonioTable = self.exec_child_alg("CreateEmptyTableWorkspace")
# Add some columns, Recognized types are: int,float,double,bool,str,V3D,long64
gonioTable.addColumn(type="str", name="Run")
gonioTable.addColumn(type="float", name="Chi")
Expand Down

0 comments on commit c4cf0e4

Please sign in to comment.