You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: biojava-structure/src/main/java/org/biojava/nbio/structure/io/BondMaker.java
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -463,14 +463,24 @@ public void formBondsFromStructConn(StructConn conn) {
463
463
464
464
} catch (StructureExceptione) {
465
465
466
-
logger.warn("Could not find atom specified in struct_conn record: {}{}({}) in chain {}, atom {} {}", seqId1, insCode1, resName1, chainId1, atomName1, altLocStr1);
466
+
// Note, in Calpha only mode the struct_conn atoms may not be present.
467
+
if (! params.isParseCAOnly()) {
468
+
logger.warn("Could not find atom specified in struct_conn record: {}{}({}) in chain {}, atom {} {}", seqId1, insCode1, resName1, chainId1, atomName1, altLocStr1);
469
+
} else {
470
+
logger.debug("Could not find atom specified in struct_conn record while parsing in parseCAonly mode: {}{}({}) in chain {}, atom {} {}", seqId1, insCode1, resName1, chainId1, atomName1, altLocStr1);
logger.warn("Could not find atom specified in struct_conn record: {}{}({}) in chain {}, atom {} {}", seqId2, insCode2, resName2, chainId2, atomName2, altLocStr2);
478
+
// Note, in Calpha only mode the struct_conn atoms may not be present.
479
+
if (! params.isParseCAOnly()) {
480
+
logger.warn("Could not find atom specified in struct_conn record: {}{}({}) in chain {}, atom {} {}", seqId2, insCode2, resName2, chainId2, atomName2, altLocStr2);
481
+
} else {
482
+
logger.debug("Could not find atom specified in struct_conn record while parsing in parseCAonly mode: {}{}({}) in chain {}, atom {} {}", seqId2, insCode2, resName2, chainId2, atomName2, altLocStr2);
0 commit comments