Skip to content
Snippets Groups Projects
Commit f3bb4280 authored by Doucet, Mathieu's avatar Doucet, Mathieu
Browse files

Fixed input workspace. Now has dropdown menu. Re #2019

parent 52104323
No related merge requests found
...@@ -24,7 +24,7 @@ class EQSANSTofOffset(PythonAlgorithm): ...@@ -24,7 +24,7 @@ class EQSANSTofOffset(PythonAlgorithm):
return "EQSANSTofOffset" return "EQSANSTofOffset"
def PyInit(self): def PyInit(self):
self.declareProperty("InputWorkspace", "") self.declareWorkspaceProperty("InputWorkspace", "", Direction.Input)
self.declareProperty("FrameSkipping", False) self.declareProperty("FrameSkipping", False)
self.declareProperty("Offset", 0.0, Direction=Direction.Output) self.declareProperty("Offset", 0.0, Direction=Direction.Output)
......
...@@ -40,7 +40,7 @@ class EQSANSTransmission(PythonAlgorithm): ...@@ -40,7 +40,7 @@ class EQSANSTransmission(PythonAlgorithm):
def PyInit(self): def PyInit(self):
# Input workspace # Input workspace
self.declareProperty("InputWorkspace", "") self.declareWorkspaceProperty("InputWorkspace", "", Direction.Input)
# Output workspace to put the transmission histo into # Output workspace to put the transmission histo into
self.declareProperty("OutputWorkspace", "") self.declareProperty("OutputWorkspace", "")
# X position of the beam center # X position of the beam center
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment