char aMultifileState[2];
char ASCIIfileState[2];
+ bool hasModuleData = false;
try {
std::string scoid = anSCO.GetID();
hdf_file->OpenOnDisk(HDF_RDONLY);
hdf_group->OpenOnDisk();
HDFgroup *hdf_sco_group = new HDFgroup((char*)scoid.c_str(), hdf_group);
hdf_sco_group->OpenOnDisk();
+ hasModuleData = true;
unsigned char* aStreamFile = NULL;
int aStreamSize = 0;
}
if (aLocked) _study->GetProperties()->SetLocked(true);
+
+ if (!hasModuleData)
+ return true;
+
_errorCode = "No persistent file";
return false;
}