File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11BioJava Changelog
22-----------------
33
4+ BioJava 7.2.3 - future release
5+ ==============================
6+ ### Fixed
7+ * Don't use label_seq_id in mmCIF output for non-polymers #1116
8+
49BioJava 7.2.2
510==============================
611### Fixed
Original file line number Diff line number Diff line change @@ -308,7 +308,12 @@ public void accept(WrappedAtom wrappedAtom) {
308308 }
309309 }
310310 labelEntityId .add (entityId );
311- labelSeqId .add (seqId );
311+ // see https://github.com/biojava/biojava/issues/1116
312+ if (chain .getEntityInfo ().getType () == EntityType .POLYMER ) {
313+ labelSeqId .add (seqId );
314+ } else {
315+ labelSeqId .markNextNotPresent ();
316+ }
312317 String insCode = "" ;
313318 if (group .getResidueNumber ().getInsCode () != null ) {
314319 insCode = Character .toString (group .getResidueNumber ().getInsCode ());
You can’t perform that action at this time.
0 commit comments