Sample Transmission Calculator Throws Unhandled Exception When Whitespace In Chemical Formula
cailafinn opened this issue · 0 comments
cailafinn commented
Describe the bug
An unhandled exception appears when a number of spaces (only) are entered into the Chemical Formula box.
To Reproduce
- Open General -> Sample Transmission Calculator.
- Set Low to 0, Width to 1, High to 10.
- Enter a space in the Chemical Formula Box.
- Click calculate.
Expected behavior
Errors from the algorithm should be handled by the interface and catch the exception.
Platform/Version (please complete the following information):
- Mantid Version 6.10 at least.