The spectrum ID is no longer stored if spectrum.read_intensities fails to load any data.
A call to the delete() function has been added to remove all data loading prior to the error.
Authored by: bugman 2011-09-26
Parent: [r14759]
Child: [r14761]