|
|
@@ -381,6 +381,7 @@ int ExpressionClassifyEngine::GetAtomicNoBySortingPercentage(CString sortingNost
|
|
|
{
|
|
|
std::map<double, CElementChemistryPtr> mapPercent;
|
|
|
std::map<int, CElementChemistryPtr> mapSorted;
|
|
|
+ if (xrayInfo == nullptr) return 0;
|
|
|
auto eles = xrayInfo->GetElementQuantifyData();
|
|
|
if (eles.size() == 0)
|
|
|
{
|