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
StructureIO.getStructure("BIO:2X3T:1") causes exception when cloning the asymmetric unit, if MMTF is used (cache.setUseMmtf(true)). The reason is null seqres groups.
There are two issues here: difference in the data between MMTF and MMCIF, and "safe" code.
I can make the code a bit safer, i.e. take this test:
StructureIO.getStructure("BIO:2X3T:1") causes exception when cloning the asymmetric unit, if MMTF is used (cache.setUseMmtf(true)). The reason is null seqres groups.
There are two issues here: difference in the data between MMTF and MMCIF, and "safe" code.
I can make the code a bit safer, i.e. take this test:
biojava/biojava-structure/src/main/java/org/biojava/nbio/structure/ChainImpl.java
Lines 190 to 193 in 8a7b651
and put a similar one here:
biojava/biojava-structure/src/main/java/org/biojava/nbio/structure/ChainImpl.java
Lines 638 to 643 in 8a7b651
I am not sure what to do with the difference in the data at this point.