(self)
Physics warnings will be logged rather than raise exceptions.
Physics warnings will be logged rather than raise exceptions.
Physics warnings will be logged rather than raise exceptions .
def suppress_physics_errors(self):
    """Physics warnings will be logged rather than raise exceptions."""
    prev_state = self._warnings_cause_exception
    self._warnings_cause_exception = False
    try:
      yield
    finally:
      self._warnings_cause_exception = prev_state
def suppress_physics_errors ( self ) : prev_state = self . _warnings_cause_exception self . _warnings_cause_exception = False try : yield finally : self . _warnings_cause_exception = prev_state