Skip to content

Commit 39cf9fc

Browse files
committed
0.0.52
1 parent 6c775d1 commit 39cf9fc

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

alphafold3_pytorch/alphafold3.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@
7373

7474
ADDITIONAL_RESIDUE_FEATS = 10
7575

76-
# threshold for checking that point cross-correlation
77-
# is full-rank in `WeightedRigidAlign`
78-
AMBIGUOUS_ROT_SINGULAR_THR = 1e-15
79-
8076
LinearNoBias = partial(Linear, bias = False)
8177

8278
# helper functions
@@ -2246,7 +2242,7 @@ def forward(
22462242
U, S, V = torch.svd(cov_matrix)
22472243

22482244
# Catch ambiguous rotation by checking the magnitude of singular values
2249-
if (S.abs() <= AMBIGUOUS_ROT_SINGULAR_THR).any() and not (num_points < (dim + 1)):
2245+
if (S.abs() <= 1e-15).any() and not (num_points < (dim + 1)):
22502246
print(
22512247
"Warning: Excessively low rank of "
22522248
+ "cross-correlation between aligned point clouds. "

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "alphafold3-pytorch"
3-
version = "0.0.51"
3+
version = "0.0.52"
44
description = "Alphafold 3 - Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "[email protected]" }

0 commit comments

Comments
 (0)