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.");
if(cif::VERBOSE)
{
std::cout<<"Loading component "<<id<<"...";
std::cout.flush();
}
cif::Filefile;
file.load(*ccd,id);
if(cif::VERBOSE)
std::cout<<" done"<<std::endl;
auto&db=file.firstDatablock();
if(db.getName()==id)
result=newCompound(db);
elseif(cif::VERBOSE)
std::cerr<<"Could not locate compound "<<id<<" in the CCD components file"<<std::endl;