mantidproject / mslice

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

Refactor run temp dependant function #876

Closed MialLewis closed 1 year ago

MialLewis commented 1 year ago

Description of work:

Refactors a large function that was getting hard to work with.

Also, I've removed the caching of sample log fields on the slice_plotter_presenter. This used to mean that you only had to select a sample log for temperature once, then it would be used for all other subsequent slices. I accidently bypassed this functionality a while ago when adding intensity change for cuts, taking the view that the temperature should be specified for every new dataset introduced.

If users take issue with this, I can reimplement.

To test: