ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/openbabel/pdbformat.cpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/openbabel/pdbformat.cpp (file contents):
Revision 2517 by tim, Wed Nov 16 21:22:51 2005 UTC vs.
Revision 2518 by tim, Fri Dec 16 21:52:50 2005 UTC

# Line 364 | Line 364 | static bool ParseConectRecord(char *buffer,OBMol &mol)
364                   << "  According to the PDB specification,\n"
365                   << "  the record should have 70 columns, but OpenBabel found "
366                   << strlen(buffer) << " columns.";
367 <        obErrorLog.ThrowError(__FUNCTION__, errorMsg.str() , obInfo);
367 >        obErrorLog.ThrowError(__func__, errorMsg.str() , obInfo);
368      }
369  
370      // Serial number of the first atom, read from column 7-11 of the
# Line 377 | Line 377 | static bool ParseConectRecord(char *buffer,OBMol &mol)
377                 << "  According to the PDB specification,\n"
378                 << "  columns 7-11 should contain the serial number of an atom.\n"
379                 << "  THIS CONECT RECORD WILL BE IGNORED.";
380 <        obErrorLog.ThrowError(__FUNCTION__, errorMsg.str() , obWarning);
380 >        obErrorLog.ThrowError(__func__, errorMsg.str() , obWarning);
381          return(false);
382      }
383  
# Line 399 | Line 399 | static bool ParseConectRecord(char *buffer,OBMol &mol)
399                   << "  columns 7-11 should contain the serial number of an atom.\n"
400                   << "  No atom was found with this serial number.\n"
401                   << "  THIS CONECT RECORD WILL BE IGNORED.";
402 <        obErrorLog.ThrowError(__FUNCTION__, errorMsg.str() , obWarning);
402 >        obErrorLog.ThrowError(__func__, errorMsg.str() , obWarning);
403          return(false);
404      }
405  
# Line 448 | Line 448 | static bool ParseConectRecord(char *buffer,OBMol &mol)
448                       << " should be connected\n"
449                       << "  However, an atom with serial #" << boundedAtomsSerialNumbers[k] << " was not found.\n"
450                       << "  THIS CONECT RECORD WILL BE IGNORED.";
451 <            obErrorLog.ThrowError(__FUNCTION__, errorMsg.str() , obWarning);
451 >            obErrorLog.ThrowError(__func__, errorMsg.str() , obWarning);
452              break;
453          }
454  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines