From b7dc563e666975b051ff40db6f4d8537a921f36d Mon Sep 17 00:00:00 2001 From: jdebacker Date: Sun, 23 Jun 2024 17:59:17 -0400 Subject: [PATCH] format --- ogcore/TPI.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ogcore/TPI.py b/ogcore/TPI.py index 733133d37..20df7c6d5 100644 --- a/ogcore/TPI.py +++ b/ogcore/TPI.py @@ -1325,9 +1325,7 @@ def run_TPI(p, client=None): "Transition path equlibrium not found" + " (TPIdist)" ) - if ( - np.any(np.absolute(RC_error) >= p.RC_TPI) - ) and ENFORCE_SOLUTION_CHECKS: + if (np.any(np.absolute(RC_error) >= p.RC_TPI)) and ENFORCE_SOLUTION_CHECKS: raise RuntimeError( "Transition path equlibrium not found " + "(RC_error)" )