MDANSE icon indicating copy to clipboard operation
MDANSE copied to clipboard

Allow for full user defined filename

Open RobBuchananCompPhys opened this issue 3 months ago • 2 comments

Description of work This permits the use of output filenames including '.' separators preceeding the .mda extension (i.e. 'PositionPowerSpectrum.result1.mda').

Fixes Closes #986

To test

RobBuchananCompPhys avatar Nov 24 '25 17:11 RobBuchananCompPhys

I think that the new code works around the problem of . characters in the file name, but fails to recognise the cases where the extension is already at the end of the file name, and adds a second one. So, in some tests the output filename is given as output_filename.mda, but the code ends up writing output_filename.mda.mda.

MBartkowiakSTFC avatar Nov 25 '25 10:11 MBartkowiakSTFC

When I run jobs from the GUI, the converter jobs are fine and the output trajectory names are handled correctly. The analysis jobs still have a conflict where .mda gets appended again to a name that already ends with .mda. Then the GUI protects the name output.mda and tries to load output.mda which fails, because the real output file name was output.mda.mda.

MBartkowiakSTFC avatar Nov 27 '25 13:11 MBartkowiakSTFC