Skip to content

Commit 18039f0

Browse files
committed
mmtbx: adjust check for 0.0 in test for more stability
1 parent 788022c commit 18039f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mmtbx/regression/tst_ml_estimate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def run():
3131
ml_err_ = fmodel.model_error_ml()
3232
ml_err.append(ml_err_)
3333
result.append(flex.mean(ml_err))
34-
assert result[0] > 0 and result[0] < 0.03
35-
assert result[1] > 0.2 and result[1] <= 0.32
34+
assert result[0] >= 0.0 and result[0] < 0.03, result
35+
assert result[1] > 0.2 and result[1] <= 0.32, result
3636

3737
if (__name__ == "__main__"):
3838
run()

0 commit comments

Comments
 (0)