From dde48622bc8f7800e4c281e8286aef7c5a72ddc3 Mon Sep 17 00:00:00 2001 From: Chris Blanton Date: Mon, 25 Nov 2024 22:38:31 -0500 Subject: [PATCH] fre pp wrapper to print one round of 'fre pp status' and exit --- fre/pp/wrapper.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/fre/pp/wrapper.py b/fre/pp/wrapper.py index 0f0aad39..f5dbb1ee 100644 --- a/fre/pp/wrapper.py +++ b/fre/pp/wrapper.py @@ -73,13 +73,10 @@ def runFre2pp(experiment, platform, target, config_file, branch): except Exception as err: raise - #send off a watcher script that reports on how it's going - for n in range(1,12): - try: - _status_subtool(experiment, platform, target) - except Exception as err: - raise - time.sleep(300) + try: + _status_subtool(experiment, platform, target) + except Exception as err: + raise if __name__ == '__main__': runFre2pp()