diff --git a/src/mol-model/structure/structure/unit/bonds/inter-compute.ts b/src/mol-model/structure/structure/unit/bonds/inter-compute.ts index c21fd0743e735d0d9a7e891f8dc2bf26008b8255..e0bc479ae10755bf41ace75878ab69042bdca518 100644 --- a/src/mol-model/structure/structure/unit/bonds/inter-compute.ts +++ b/src/mol-model/structure/structure/unit/bonds/inter-compute.ts @@ -153,7 +153,7 @@ function findPairBonds(unitA: Unit.Atomic, unitB: Unit.Atomic, props: BondComput ? thresholdAB : beI < 0 ? thresholdA - : (thresholdA + getElementThreshold(beI)) / 2; // not sure if avg or min but max is too big + : (thresholdA + getElementThreshold(beI)) / 1.95; // not sure if avg or min but max is too big if (dist <= pairingThreshold) { const atomIdB = label_atom_idB.value(bI); diff --git a/src/mol-model/structure/structure/unit/bonds/intra-compute.ts b/src/mol-model/structure/structure/unit/bonds/intra-compute.ts index 5f852099f4fa2092f29d2189a87ebd92eedc1bb0..03ff72f63b9dfda31ce1fd50f2444ce9e9757c29 100644 --- a/src/mol-model/structure/structure/unit/bonds/intra-compute.ts +++ b/src/mol-model/structure/structure/unit/bonds/intra-compute.ts @@ -211,7 +211,7 @@ function findBonds(unit: Unit.Atomic, props: BondComputationProps): IntraUnitBon ? thresholdAB : beI < 0 ? thresholdA - : (thresholdA + getElementThreshold(beI)) / 2; // not sure if avg or min but max is too big + : (thresholdA + getElementThreshold(beI)) / 1.95; // not sure if avg or min but max is too big if (dist <= pairingThreshold) { atomA[atomA.length] = _aI;