1 | |
---|
2 | import mantid.simpleapi as api |
---|
3 | |
---|
4 | from mantid.api import * |
---|
5 | from mantid.kernel import * |
---|
6 | |
---|
7 | class 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 | |
---|
28 | AlgorithmFactory.subscribe(AlgTwo()) |
---|