File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 7373
7474ADDITIONAL_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-
8076LinearNoBias = 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. "
Original file line number Diff line number Diff line change 11[project ]
22name = " alphafold3-pytorch"
3- version = " 0.0.51 "
3+ version = " 0.0.52 "
44description = " Alphafold 3 - Pytorch"
55authors = [
66 {
name =
" Phil Wang" ,
email =
" [email protected] " }
You can’t perform that action at this time.
0 commit comments