Skip to content

Commit

Permalink
Do not allow ADP > 999 in rsr
Browse files Browse the repository at this point in the history
  • Loading branch information
pafonine committed Sep 7, 2024
1 parent 3f9c877 commit 4444ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmtbx/refinement/real_space/adp.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def run_one_one(self, args):
for it in range(1,2):
x = fmodel.xray_structure.extract_u_iso_or_u_equiv()*adptbx.u_as_b(1.)
lower = flex.double(x.size(), 0)
upper = flex.double(x.size(), flex.max(x)*2)
upper = flex.double(x.size(), min(999,flex.max(x)*2) )
calculator = tg(fmodel = fmodel, x = x, restraints_weight = None)
m = tncs.minimizer(
potential = calculator,
Expand Down

0 comments on commit 4444ace

Please sign in to comment.