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.
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: