@@ -449,20 +449,16 @@ else if (atomCode.equals("CA") || atomCode.equals("CB") ||
449449 else if (atomCode .equals ("CG" )) return TETRAHEDRAL_CARBON_VDW ;
450450
451451 default :
452- logger .warn ("Unexpected carbon atom " +atomCode +" for aminoacid " +aa +", assigning its standard vdw radius" );
452+ logger .info ("Unexpected carbon atom " +atomCode +" for aminoacid " +aa +", assigning its standard vdw radius" );
453453 return Element .C .getVDWRadius ();
454454 }
455455 }
456456
457457 // not any of the expected atoms
458458 } else {
459459 // non standard aas, (e.g. MSE, LLP) will always have this problem,
460- // thus we log at info level for them, at warn for others
461- if (amino .getChemComp ()!=null && amino .getChemComp ().isStandard ()) {
462- logger .warn ("Unexpected atom " +atomCode +" for aminoacid " +aa + " (" +amino .getPDBName ()+"), assigning its standard vdw radius" );
463- } else {
464- logger .info ("Unexpected atom " +atomCode +" for aminoacid " +aa + " (" +amino .getPDBName ()+"), assigning its standard vdw radius" );
465- }
460+ logger .info ("Unexpected atom " +atomCode +" for aminoacid " +aa + " (" +amino .getPDBName ()+"), assigning its standard vdw radius" );
461+
466462
467463 return atom .getElement ().getVDWRadius ();
468464 }
@@ -487,7 +483,7 @@ private static double getRadiusForNucl(NucleotideImpl nuc, Atom atom) {
487483
488484 if (atom .getElement ()==Element .O ) return OXIGEN_VDW ;
489485
490- logger .warn ("Unexpected atom " +atom .getName ()+" for nucleotide " +nuc .getPDBName ()+", assigning its standard vdw radius" );
486+ logger .info ("Unexpected atom " +atom .getName ()+" for nucleotide " +nuc .getPDBName ()+", assigning its standard vdw radius" );
491487 return atom .getElement ().getVDWRadius ();
492488 }
493489
0 commit comments