X Tutup
Skip to content

Commit 4e0473e

Browse files
committed
Docs
1 parent 15e1675 commit 4e0473e

File tree

1 file changed

+2
-2
lines changed
  • biojava-structure/src/main/java/org/biojava/nbio/structure/io

1 file changed

+2
-2
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/io/BondMaker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private void formIntraResidueBonds() {
167167
continue;
168168
}
169169
// Now add support for altLocGroup
170-
List<Group> totList = new ArrayList<Group>();
170+
List<Group> totList = new ArrayList<>();
171171
totList.add(mainGroup);
172172
totList.addAll(mainGroup.getAltLocs());
173173

@@ -333,7 +333,7 @@ public void formLinkRecordBond(LinkRecord linkRecord) {
333333
return;
334334

335335
try {
336-
// The PDB format uses author chain ids to reference. But one author chain id corresponds to multiple asym ids,
336+
// The PDB format uses author chain ids to reference chains. But one author chain id corresponds to multiple asym ids,
337337
// thus we need to grab all the possible asym ids (poly and nonpoly) and then try to find the atoms
338338
// See issue https://github.com/biojava/biojava/issues/943
339339
String polyChainId1 = structure.getPolyChainByPDB(linkRecord.getChainID1()).getId();

0 commit comments

Comments
 (0)
X Tutup