Skip to content

Commit 8e9535c

Browse files
committed
Logging
1 parent 8cfd1c2 commit 8e9535c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/asa/AsaCalculator.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,16 +568,15 @@ else if (atomCode.equals("CA") || atomCode.equals("CB") ||
568568
else if (atomCode.equals("CG")) return TETRAHEDRAL_CARBON_VDW;
569569

570570
default:
571-
logger.info("Unexpected carbon atom "+atomCode+" for aminoacid "+aa+", assigning its standard vdw radius");
571+
logger.info("Unexpected carbon atom {} for aminoacid {}, assigning its standard vdw radius", atomCode, aa);
572572
return Element.C.getVDWRadius();
573573
}
574574
}
575575

576576
// not any of the expected atoms
577577
} else {
578578
// non standard aas, (e.g. MSE, LLP) will always have this problem,
579-
logger.info("Unexpected atom "+atomCode+" for aminoacid "+aa+ " ("+amino.getPDBName()+"), assigning its standard vdw radius");
580-
579+
logger.debug("Unexpected atom {} for aminoacid {} ({}), assigning its standard vdw radius", atomCode, aa, amino.getPDBName());
581580

582581
return atom.getElement().getVDWRadius();
583582
}

0 commit comments

Comments
 (0)