| 160 |
|
strstream errorMsg; |
| 161 |
|
#endif |
| 162 |
|
errorMsg << "Stopped looking after " << i << " molecules." << endl; |
| 163 |
< |
obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obInfo); |
| 163 |
> |
obErrorLog.ThrowError(__func__, errorMsg.str(), obInfo); |
| 164 |
|
} |
| 165 |
|
|
| 166 |
|
vector<unsigned int>::iterator itr; |
| 263 |
|
#endif |
| 264 |
|
errorMsg << "Index has Fingerprints of type '" << _index.header.fpid |
| 265 |
|
<< " which is not currently loaded." << endl; |
| 266 |
< |
obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obWarning); |
| 266 |
> |
obErrorLog.ThrowError(__func__, errorMsg.str(), obWarning); |
| 267 |
|
*(_index.header.datafilename) = '\0'; |
| 268 |
|
} |
| 269 |
|
|
| 286 |
|
strstream errorMsg; |
| 287 |
|
#endif |
| 288 |
|
errorMsg << "Fingerprint type '" << fpid << "' not available" << endl; |
| 289 |
< |
obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obWarning); |
| 289 |
> |
obErrorLog.ThrowError(__func__, errorMsg.str(), obWarning); |
| 290 |
|
} |
| 291 |
|
|
| 292 |
|
_nbits=FptBits; |
| 305 |
|
_indexstream->write((const char*)&_pindex->fptdata[0], _pindex->fptdata.size()*sizeof(unsigned int)); |
| 306 |
|
_indexstream->write((const char*)&_pindex->seekdata[0], _pindex->seekdata.size()*sizeof(unsigned int)); |
| 307 |
|
if(!_indexstream) |
| 308 |
< |
obErrorLog.ThrowError(__FUNCTION__, |
| 308 |
> |
obErrorLog.ThrowError(__func__, |
| 309 |
|
"Difficulty writing index", obWarning); |
| 310 |
|
delete _pindex; |
| 311 |
|
} |
| 326 |
|
_pindex->seekdata.push_back(seekpos); |
| 327 |
|
return true; |
| 328 |
|
} |
| 329 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Failed to make a fingerprint", obWarning); |
| 329 |
> |
obErrorLog.ThrowError(__func__, "Failed to make a fingerprint", obWarning); |
| 330 |
|
return false; |
| 331 |
|
|
| 332 |
|
} |