371 |
|
result = (ByteCode*)malloc(sizeof(ByteCode)); |
372 |
|
if( !result ) |
373 |
|
{ |
374 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Unable to allocate byte codes for biomolecule residue perception.", obError); |
374 |
> |
obErrorLog.ThrowError(__func__, "Unable to allocate byte codes for biomolecule residue perception.", obError); |
375 |
|
// exit(1); |
376 |
|
} |
377 |
|
result->type = type; |
442 |
|
|
443 |
|
static void FatalMemoryError(void) |
444 |
|
{ |
445 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Unable to allocate memory for biomolecule residue / chain perception.", obError); |
445 |
> |
obErrorLog.ThrowError(__func__, "Unable to allocate memory for biomolecule residue / chain perception.", obError); |
446 |
|
// exit(1); |
447 |
|
} |
448 |
|
|
650 |
|
errorMsg << "Residue " << ChainsResName[resid] << " atom " |
651 |
|
<< curr << endl; |
652 |
|
errorMsg << "Previous = " << prev << " Fanout = " << count << endl; |
653 |
< |
obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obWarning); |
653 |
> |
obErrorLog.ThrowError(__func__, errorMsg.str(), obWarning); |
654 |
|
// exit(1); |
655 |
|
} |
656 |
|
else if( StackPtr ) |
946 |
|
SetResidueInformation(mol, nukeSingleResidue); |
947 |
|
CleanupMol(); |
948 |
|
|
949 |
< |
obErrorLog.ThrowError(__FUNCTION__, |
949 |
> |
obErrorLog.ThrowError(__func__, |
950 |
|
"Ran OpenBabel::PerceiveChains", obAuditMsg); |
951 |
|
|
952 |
|
return result; |