Skip to content

Commit

Permalink
Remove StartTime and EndTime calls from algorithms
Browse files Browse the repository at this point in the history
Refs #11422
  • Loading branch information
DanNixon committed Mar 23, 2015
1 parent 3041060 commit 04a7e7e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Expand Up @@ -57,9 +57,6 @@ def PyInit(self):


def PyExec(self):
from IndirectCommon import StartTime, EndTime

StartTime('Symmetrise')
self._setup()
temp_ws_name = '__symm_temp'

Expand Down Expand Up @@ -173,8 +170,6 @@ def PyExec(self):

self.setProperty('OutputWorkspace', self._output_workspace)

EndTime('Symmetrise')


def validateInputs(self):
"""
Expand Down
Expand Up @@ -77,13 +77,10 @@ def PyInit(self):

def PyExec(self):
from mantid import config, logger
from IndirectCommon import StartTime, EndTime
import inelastic_indirect_reducer

self._setup()

StartTime('InelasticIndirectReduction')

# Setup reducer
reducer = inelastic_indirect_reducer.IndirectReducer()

Expand Down Expand Up @@ -157,8 +154,6 @@ def PyExec(self):
if self._plot_type != 'none':
self._plot()

EndTime('InelasticIndirectReduction')


def validateInputs(self):
"""
Expand Down
Expand Up @@ -77,11 +77,8 @@ def validateInputs(self):


def PyExec(self):
from IndirectCommon import StartTime, EndTime
from IndirectDiffractionReduction import MSGDiffractionReducer

StartTime('MSGDiffractionReduction')

input_files = self.getProperty('InputFiles').value
sum_files = self.getProperty('SumFiles').value
individual_grouping = self.getProperty('IndividualGrouping').value
Expand Down Expand Up @@ -119,7 +116,5 @@ def PyExec(self):
GroupWorkspaces(InputWorkspaces=result_ws_list, OutputWorkspace=output_ws_group)
self.setProperty('OutputWorkspace', output_ws_group)

EndTime('MSGDiffractionReduction')


AlgorithmFactory.subscribe(MSGDiffractionReduction)

0 comments on commit 04a7e7e

Please sign in to comment.