handling of mca data of interrupted scans in spec.py