diff --git a/src/dialect/models/interaction.py b/src/dialect/models/interaction.py index b7c3460..b83a1cd 100644 --- a/src/dialect/models/interaction.py +++ b/src/dialect/models/interaction.py @@ -91,7 +91,10 @@ def verify_taus_are_valid(self, taus, tol=1e-6): if tau_11 == 1: logging.warning( f"Tau_11 is 1 for interaction {self.name}. This is an edge case." - raise ValueError("Tau_11 cannot be 1. This leads to log(0) in log-likelihood.") + ) + raise ValueError( + "Tau_11 cannot be 1. This leads to log(0) in log-likelihood." + ) def verify_pi_values(self, pi_a, pi_b): """