From 2c0880b03597bd59d382ca8c8e6632650ae4ba03 Mon Sep 17 00:00:00 2001 From: Rory Barnes Date: Tue, 23 Apr 2024 14:30:56 -0700 Subject: [PATCH 1/2] Printing output from an error running vplanet now. --- vplanet/wrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vplanet/wrapper.py b/vplanet/wrapper.py index f6b7fc2c9..5def03081 100644 --- a/vplanet/wrapper.py +++ b/vplanet/wrapper.py @@ -89,6 +89,7 @@ def run( except subprocess.CalledProcessError as e: error = True if error: + print(e) raise VPLANETError("Error running VPLANET.") # Grab the output From 7e5d898dd6716900320d8b0b841629c0a25b5d5d Mon Sep 17 00:00:00 2001 From: Rory Barnes Date: Tue, 23 Apr 2024 15:50:32 -0700 Subject: [PATCH 2/2] Moved error message in wrapper.py --- vplanet/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vplanet/wrapper.py b/vplanet/wrapper.py index 5def03081..36bd711a8 100644 --- a/vplanet/wrapper.py +++ b/vplanet/wrapper.py @@ -87,9 +87,9 @@ def run( try: subprocess.check_output(args, cwd=path) except subprocess.CalledProcessError as e: + print(e) error = True if error: - print(e) raise VPLANETError("Error running VPLANET.") # Grab the output