Ticket #7541: AlgThree.py

File AlgThree.py, 650 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 AlgThree(PythonAlgorithm):
8
9    def category(self):
10        return "PythonAlgorithms"
11
12    def name(self):
13            return "AlgThree"
14
15    def PyInit(self):
16        self.declareProperty(MatrixWorkspaceProperty("WorkspaceA", "", 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(AlgThree())