Skip to content

Commit 83cf763

Browse files
committed
Revert "increase QCP precision threshold (try to fix #914)"
This reverts commit e94f047
1 parent e94f047 commit 83cf763

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/geometry/SuperPositionQCP.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public final class SuperPositionQCP extends SuperPositionAbstract {
111111

112112
private static final Logger logger = LoggerFactory.getLogger(SuperPositionQCP.class);
113113

114-
private double evec_prec = 1E-3;
114+
private double evec_prec = 1E-6;
115115
private double eval_prec = 1E-11;
116116

117117
private Point3d[] x;

biojava-structure/src/test/java/org/biojava/nbio/structure/io/TestHardBioUnits.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ public void test4A1I() throws IOException, StructureException {
107107
String pdbId = "4A1I";
108108
int biolAssemblyNr = 2;
109109

110+
AtomCache atomCache = new AtomCache();
111+
// TODO there seem to be numerical instabilities when parsing BCIF
112+
atomCache.setFiletype(StructureFiletype.CIF);
113+
StructureIO.setAtomCache(atomCache);
110114
Structure bioAssembly = StructureIO.getBiologicalAssembly(pdbId,biolAssemblyNr);
111115

112116
if ( bioAssembly == null){

0 commit comments

Comments
 (0)