Skip to content

Commit

Permalink
Re #5071 expose polarization option on algo UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Apr 17, 2012
1 parent 4abda1d commit 2ca9f47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Code/Mantid/Framework/PythonAPI/test/PythonAlgorithmTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ class PythonAlgorithmTest(unittest.TestCase):
def setUp(self):
pass

def test_existing_algorithm(self):
"""
Import an existing python algorithm to make sure they
are still hooked up properly
"""
from mantidsimple import EQSANSTransmission

def test_sub_alg_wksp_transfer(self):
"""
Check that we can execute a sub-algorithm and pass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void RefReduction::init()
setPropertySettings("DetectorAngle", new VisibleWhenProperty("Instrument", IS_EQUAL_TO, "REF_M") );
setPropertySettings("DetectorAngle0", new VisibleWhenProperty("Instrument", IS_EQUAL_TO, "REF_M") );
setPropertySettings("DirectPixel", new VisibleWhenProperty("Instrument", IS_EQUAL_TO, "REF_M") );
setPropertySettings("PolarizedData", new VisibleWhenProperty("Instrument", IS_EQUAL_TO, "REF_M") );

declareProperty("AngleOffset", EMPTY_DBL());
setPropertySettings("AngleOffset", new VisibleWhenProperty("Instrument", IS_EQUAL_TO, "REF_L") );
Expand Down

0 comments on commit 2ca9f47

Please sign in to comment.