Commit e7e71a6d authored by Savici, Andrei T's avatar Savici, Andrei T
Browse files

Merge pull request #16085 from mantidproject/fix_ComputeIncoherentDOS_doc_test_on_rhel6

Fix ComputeIncoherentDOS doc test on RHEL6
parents d2c08cc1 50e9c521
......@@ -103,7 +103,8 @@ class ComputeIncoherentDOS(PythonAlgorithm):
# Gets meV to cm^-1 conversion
mev2cm = (constants.elementary_charge / 1000) / (constants.h * constants.c * 100)
# Gets meV to Kelvin conversion
mev2k = (constants.elementary_charge / 1000) / constants.Boltzmann
# Note: constants.Boltzmann alias for constants.k not used here because it is not available on RHEL6
mev2k = (constants.elementary_charge / 1000) / constants.k
# Converts energy to meV for bose factor later
if u0 == 'DeltaE_inWavenumber' or u1 == 'DeltaE_inWavenumber':
......
Supports Markdown
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