Scan state is wrong when aboarted in a ScanPreset
In my case I have a scan preset when stopping the scan which takes several seconds, moving a motor. When aborting the scan during this movement, the ScanState comes back with DONE. It should come back with USER_ABORTED, even if the main scanning part finished correctly.
In the case of a scan sequence, the scan aborts in the stop preset and stops any further action. But, as the scan state indicates DONE and the scan sequence ends with DONE, it looks like the whole scanning sequence was executed.