Skip to content
Snippets Groups Projects
Commit 6e8e323a authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Re-integrate proton charge if dealing with multiple chunks or files

parent 859a344f
No related branches found
No related tags found
No related merge requests found
......@@ -230,6 +230,10 @@ class AlignAndFocusPowderFromFiles(DataProcessorAlgorithm):
if self.kwargs['PreserveEvents']:
CompressEvents(InputWorkspace=finalname, OutputWorkspace=finalname)
# with more than one chunk or file the integrated proton charge is
# generically wrong
mtd[finalname].integrateProtonCharge()
# set the output workspace
self.setProperty('OutputWorkspace', mtd[finalname])
......
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