Skip to content

Commit

Permalink
refs #7108. Missed old api calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed May 15, 2013
1 parent accd748 commit 841dffd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def PyExec(self):
# generic stuff for running
wksp = self.getPropertyValue("OutputWorkspace")
runs = self.getProperty("RunNumbers")
instr = mtd.getSettings().facility().instrument().shortName()
instr = config.getInstrument().shortName()
directory = self.getPropertyValue("Directory").strip()

# change here if you want something other than gsas files
Expand All @@ -59,7 +59,7 @@ def PyExec(self):
else:
self.__load(directory, instr, run, loader, exts, run)
ConjoinWorkspaces(InputWorkspace1=wksp, InputWorkspace2=run, CheckOverlapping=False)
mtd.deleteWorkspace(run)
DeleteWorkspace(run)

self.setProperty("OutputWorkspace", mtd[wksp])

Expand Down

0 comments on commit 841dffd

Please sign in to comment.