Open cailafinn opened 1 month ago
Is the only way to do this whilst maintaining backwards compatibility with scripts to have a new SaveAscii3
algorithm with the correct parameter name that just calls SaveAscii2
? I assume then that anyone with an existing script will end up calling SaveAscii2
if they have specified SpectrumList
as an argument, or is that not how it works?
Original reporter: User that came to the office, unfortunately I didn't get their name.
Describe the bug User was confused as to why providing 1 to the
SpectrumList
property ofSaveAscii
was outputting the curve for the second spectrum in the workspace.This is because the algorithm actually uses the workspace indices (0 initialised, and unaffected by cropping).
The
WorkspaceIndexMax
andWorkspaceIndexMin
are named correctly, so renaming the property to match these is probablt the best option.The documentation for the property does indicate that it uses the workspace index, but this isn't clear from the algorithm dialog unless you specifically hover over the text input box.
To Reproduce
Expected behavior It should be clear what spectrum is being saved by this property.
Platform/Version (please complete the following information):