Skip to content

Commit 2898281

Browse files
committed
Better logging
1 parent bb14709 commit 2898281

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/SimpleMMcifConsumer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,8 +1752,8 @@ public void newStructRefSeq(StructRefSeq sref) {
17521752
seqend = Integer.parseInt(sref.getPdbx_auth_seq_align_end());
17531753
}
17541754
catch(NumberFormatException e){
1755-
logger.info("Couldn't parse sequence alignment positions.");
1756-
logger.debug(e.toString());
1755+
// this happens in a few entries, annotation error? e.g. 6eoj
1756+
logger.warn("Couldn't parse pdbx_auth_seq_align_beg/end in _struct_ref_seq. Will not store dbref alignment info for accession {}. Error: {}", r.getDbAccession(), e.getMessage());
17571757
return;
17581758
}
17591759
Character begin_ins_code = new Character(sref.getPdbx_seq_align_beg_ins_code().charAt(0));

0 commit comments

Comments
 (0)