mantidproject / mslice

Source code for Mantid MSlice
http://mantidproject.github.io/mslice
1 stars 2 forks source link

Uncaught exception when changing intensity type #905

Closed robertapplin closed 1 year ago

robertapplin commented 1 year ago

Describe the bug When changing the intensity type on a cut plot, there is an uncaught exception when the intensity min and max is an infinite or nan value.

To Reproduce Steps to reproduce the behavior:

  1. Load MARI28540_80meV.nxspe
  2. Go to Cut tab
  3. Select Two theta for the "along" axis. Enter 0 to 10
  4. Enter -2 to 2 for the "over" axis
  5. Click plot
  6. Change the intensity type to Chi", and select the psi log
  7. There is an uncaught exception

Expected behavior There should not be an uncaught exception