fix of the null reference error when self alignment
fix of the null reference error when self alignment

xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits