mantidproject / mslice

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

Add warning for small step Cut Plots #892

Closed robertapplin closed 1 year ago

robertapplin commented 1 year ago

Description of work: This PR adds a warning when a step for a cut plot is smaller than the steps in the x axis data of a workspace. This can cause plots to appear to having missing lines. It has been implemented as follows:

To test: Follow the instructions in the testing issue Make sure two warnings are output after running the script, and that they make sense. (two warnings because two of the lines have cut axis steps which are too small)

Repeat the same steps but via the interface. See that a warning is displayed in the status bar.

Fixes #842 Fixes #728