@@ -411,20 +411,16 @@ else if (atomCode.equals("CA") || atomCode.equals("CB") ||
411411 else if (atomCode .equals ("CG" )) return TETRAHEDRAL_CARBON_VDW ;
412412
413413 default :
414- logger .warn ("Unexpected carbon atom " +atomCode +" for aminoacid " +aa +", assigning its standard vdw radius" );
414+ logger .info ("Unexpected carbon atom " +atomCode +" for aminoacid " +aa +", assigning its standard vdw radius" );
415415 return Element .C .getVDWRadius ();
416416 }
417417 }
418418
419419 // not any of the expected atoms
420420 } else {
421421 // non standard aas, (e.g. MSE, LLP) will always have this problem,
422- // thus we log at info level for them, at warn for others
423- if (amino .getChemComp ()!=null && amino .getChemComp ().isStandard ()) {
424- logger .warn ("Unexpected atom " +atomCode +" for aminoacid " +aa + " (" +amino .getPDBName ()+"), assigning its standard vdw radius" );
425- } else {
426- logger .info ("Unexpected atom " +atomCode +" for aminoacid " +aa + " (" +amino .getPDBName ()+"), assigning its standard vdw radius" );
427- }
422+ logger .info ("Unexpected atom " +atomCode +" for aminoacid " +aa + " (" +amino .getPDBName ()+"), assigning its standard vdw radius" );
423+
428424
429425 return atom .getElement ().getVDWRadius ();
430426 }
@@ -449,7 +445,7 @@ private static double getRadiusForNucl(NucleotideImpl nuc, Atom atom) {
449445
450446 if (atom .getElement ()==Element .O ) return OXIGEN_VDW ;
451447
452- logger .warn ("Unexpected atom " +atom .getName ()+" for nucleotide " +nuc .getPDBName ()+", assigning its standard vdw radius" );
448+ logger .info ("Unexpected atom " +atom .getName ()+" for nucleotide " +nuc .getPDBName ()+", assigning its standard vdw radius" );
453449 return atom .getElement ().getVDWRadius ();
454450 }
455451
0 commit comments