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

[BUG] Saving a script fails for Scattering Factor dialogs #254

Closed MBartkowiakSTFC closed 8 months ago

MBartkowiakSTFC commented 11 months ago

Description of the error The changes to the input widgets and the configurators made it impossible to save an analysis run as a script.

Describe the expected result The "save" button in an analysis dialog should produce a working Python script with the same inputs as those in the GUI

Describe the actual result The GUI crashed with a TypeError

Suggested fix Either the "configurators" or the save method itself have to be modified to get the correct parameters for the script.

Additional details N/A