Ticket #7081: Dummy.py
File Dummy.py, 440 bytes (added by Gesner Passos, 7 years ago) |
---|
Line | |
---|---|
1 | """*WIKI* |
2 | |
3 | <math>~20%</math> |
4 | <math>T^' = 0.158</math> |
5 | |
6 | *WIKI*""" |
7 | |
8 | |
9 | from mantid.kernel import * |
10 | from mantid.api import PythonAlgorithm, AlgorithmFactory |
11 | |
12 | class Dummy(PythonAlgorithm): |
13 | def PyInit(self): |
14 | #self.declareProperty(MatrixWorkspaceProperty("LHSWorkspace", "", Direction.Input), "Input workspace") |
15 | pass |
16 | def PyExec(self): |
17 | # Run the algorithm |
18 | pass |
19 | # Register algorithm with Mantid |
20 | AlgorithmFactory.subscribe(Dummy) |