throwstd::runtime_error("Could not locate the CCD components.cif file, please make sure the software is installed properly and/or use the update-dictionary-script to fetch the data.");
throwstd::runtime_error("Could not locate the CCD components.cif file, please make sure the software is installed properly and/or use the update-dictionary-script to fetch the data.");
cif::Filefile;
if(mIndex.empty())
{
if(cif::VERBOSE)
{
std::cout<<"Creating component index "<<"...";
std::cout.flush();
}
cif::Parserparser(*ccd,file,false);
mIndex=parser.indexDatablocks();
if(cif::VERBOSE)
std::cout<<" done"<<std::endl;
// reload the resource, perhaps this should be improved...