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] Converter dialog does not store the working directory #313

Closed MBartkowiakSTFC closed 3 months ago

MBartkowiakSTFC commented 7 months ago

Description of the error Converter dialog is an instance of ActionDialog. When multiple widgets are asking for input files, the file dialog starts in the MDANSE_GUI working directory every time.

Describe the expected result The dialog should store the path of the first input file, and use it when looking for the next file. The ActionDialog used for analysis runs already does it most of the time.

Describe the actual result See above.

Suggested fix A better way of storing the current path and recently used paths needs to be implemented.

Additional details Add any other context or screenshots about the feature request here.

MBartkowiakSTFC commented 3 months ago

This problem does not occur anymore, since converters are now connected to an instance of LocalSession which stores the working directory for different types of runs.