Skip to content

Commit

Permalink
suppress approx_equal output
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsobolev committed Sep 17, 2024
1 parent 083816b commit 0c7cd4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmtbx/ncs/ncs_restraints_group_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from scitbx import matrix
import mmtbx.ncs.ncs_utils as nu
import scitbx.rigid_body
from libtbx.utils import Sorry
from libtbx.utils import null_out, Sorry
from libtbx.test_utils import approx_equal
import iotbx.cif.model
from six.moves import zip
Expand All @@ -28,7 +28,7 @@ def __init__(self,copy_iselection, rot, tran, str_selection=None, rmsd=999):
self.rmsd = rmsd

def __eq__(self, other):
return approx_equal(self.r, other.r) and approx_equal(self.t, other.t)
return approx_equal(self.r, other.r, out=null_out()) and approx_equal(self.t, other.t, out=null_out())

def deep_copy(self):
res = NCS_copy(
Expand Down

0 comments on commit 0c7cd4b

Please sign in to comment.