Skip to content

Commit

Permalink
Use new way to register algorithm. Refs #6750.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Apr 19, 2013
1 parent dd9da96 commit c723635
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
This algorithm is designed to work with other algorithms to do Le Bail fit. The introduction can be found in the wiki page of [[LeBailFit]].
*WIKI*"""
from mantid.api import PythonAlgorithm, registerAlgorithm, ITableWorkspaceProperty, WorkspaceFactory, FileProperty, FileAction, MatrixWorkspaceProperty, WorkspaceProperty
from mantid.api import PythonAlgorithm, AlgorithmFactory, ITableWorkspaceProperty, WorkspaceFactory, FileProperty, FileAction, MatrixWorkspaceProperty, WorkspaceProperty
from mantid.kernel import Direction, StringListValidator

import mantid.simpleapi as api
Expand Down Expand Up @@ -311,5 +311,5 @@ def _makeEmptyDataWorkspace(self):


# Register algorithm with Mantid
registerAlgorithm(LoadFullprofFile)

#registerAlgorithm(LoadFullprofFile)
AlgorithmFactory.subscribe(LoadFullprofFile)

0 comments on commit c723635

Please sign in to comment.