Ticket #7541: AlgOne.py

File AlgOne.py, 648 bytes (added by Owen Arnold, 7 years ago)
Line 
1
2import mantid.simpleapi as api
3
4from mantid.api import *
5from mantid.kernel import *
6
7class AlgOne(PythonAlgorithm):
8
9    def category(self):
10        return "PythonAlgorithms"
11
12    def name(self):
13            return "AlgOne"
14
15    def PyInit(self):
16        self.declareProperty(MatrixWorkspaceProperty("InputWorkspace", "", Direction.Input), "Input workspace")
17        self.declareProperty(MatrixWorkspaceProperty("OutputWorkspace", "", Direction.Output), "Output Workspace")
18 
19    def PyExec(self):
20        pass
21       
22
23#############################################################################################
24
25AlgorithmFactory.subscribe(AlgOne())