Commit 25dca896 authored by Gagik Vardanyan's avatar Gagik Vardanyan
Browse files

remove defaultValue as key is not supported

parent 2008fa85
......@@ -163,7 +163,7 @@ class SANSILLIntegration(PythonAlgorithm):
lambda_range_validator = CompositeValidator()
lambda_range_validator.add(FloatArrayOrderedPairsValidator())
lambda_range_validator.add(FloatArrayLengthValidator(2))
self.declareProperty(FloatArrayProperty(name='WavelengthRange', defaultValue=[1., 10.], validator=lambda_range_validator),
self.declareProperty(FloatArrayProperty('WavelengthRange', [1., 10.], validator=lambda_range_validator),
doc='Wavelength range [Angstrom] to be used in integration (TOF only).')
def PyExec(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment