Ticket #7541: AlgTwo.py

File AlgTwo.py, 972 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 AlgTwo(PythonAlgorithm):
8
9    def category(self):
10        return "PythonAlgorithms"
11
12    def name(self):
13            return "AlgTwo"
14
15    def PyInit(self):
16        self.declareProperty(MatrixWorkspaceProperty("WorkspaceA", "", Direction.Input), "Input workspace")
17        self.declareProperty(MatrixWorkspaceProperty("WorkspaceB", "", Direction.Input), "Input workspace")
18        self.declareProperty(MatrixWorkspaceProperty("InputWorkspace", "", Direction.Input), "Input workspace")
19        self.declareProperty(MatrixWorkspaceProperty("WorkspaceC", "", Direction.Input), "Input workspace")
20        self.declareProperty(MatrixWorkspaceProperty("OutputWorkspace", "", Direction.Output), "Output Workspace")
21 
22    def PyExec(self):
23        pass
24       
25
26#############################################################################################
27
28AlgorithmFactory.subscribe(AlgTwo())