|
@@ -228,7 +228,7 @@ namespace OTSIncAReportGrids
|
|
|
Particledata = new ParticleData(result.FilePath);
|
|
|
string str_libraryName = ((Dictionary<string, object>)((Dictionary<string, object>)((Dictionary<string, object>)result.ResultInfo["Sample"])["Members"])["MsrParams"])["STDName"].ToString();
|
|
|
userLibrary = new UserLibraryData(str_libraryName);
|
|
|
- if (userLibrary != null)
|
|
|
+ if (userLibrary.GetSqlHelper() != null)
|
|
|
{
|
|
|
userLibraryData = userLibrary.GetSubAttributeFromDatabase();
|
|
|
}
|