Skip to content

Commit e178cd1

Browse files
committed
Correcting reporting
Isn't it existing atom which will be ignored if future lookups, or I am missing some point here?
1 parent d02632b commit e178cd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/HetatomImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void addAtom(Atom atom){
168168
String altLocStr = "";
169169
char altLoc = atom.getAltLoc();
170170
if (altLoc != ' ') altLocStr = "(alt loc '" + altLoc + "')";
171-
logger.warn("An atom with name " + atom.getName() + " " + altLocStr + " is already present in group: " + this.toString() + ". The atom with serial " + atom.getPDBserial() + " will be ignored in look-ups.");
171+
logger.warn("An atom with name " + atom.getName() + " " + altLocStr + " is already present in group: " + this.toString() + ". The atom with serial " + existingAtom.getPDBserial() + " will be ignored in look-ups.");
172172
}
173173
}
174174
}

0 commit comments

Comments
 (0)