ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
21 stars 5 forks source link

Add missing function name to ResolutionCalculator output #563

Closed MBartkowiakSTFC closed 3 days ago

MBartkowiakSTFC commented 5 days ago

Description of work PR https://github.com/ISISNeutronMuon/MDANSE/pull/529 restructured the resolution calculation. This interfered with the resolution helper dialog, which requires one additional item in the parameter dictionary.

Fixes

  1. The missing function name has been added to the output of ResolutionCalculator.
  2. InstrumentInfo removes the function name from the dictionary, so it does not appear twice.

To test Try setting the resolution in a scattering job when no instrument is selected. Try changing the resolution type in an instrument profile in the instrument tab. Both should work and create valid resolution parameters.