From 06bdfcffb052470beeeb1ca0e13211f008111fe2 Mon Sep 17 00:00:00 2001 From: Jon Ngai Date: Fri, 18 Sep 2020 12:26:47 -0600 Subject: [PATCH] Renaming depthai-demo.py --- calibrate_and_test.py | 4 ++-- depthai-demo.py => depthai_demo.py | 0 depthai_supervisor.py | 4 ++-- integration_test.py | 2 +- repeat_test.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename depthai-demo.py => depthai_demo.py (100%) diff --git a/calibrate_and_test.py b/calibrate_and_test.py index 7b0a3f365..6bd2342e6 100755 --- a/calibrate_and_test.py +++ b/calibrate_and_test.py @@ -24,7 +24,7 @@ def cleanup(): args+="'"+arg+"' " calibrate_cmd = "python3 calibrate.py " + args -test_cmd = """python3 depthai-demo.py -co '{"streams": [{"name": "depth_raw", "max_fps": 12.0}]}'""" +test_cmd = """python3 depthai_demo.py -co '{"streams": [{"name": "depth_raw", "max_fps": 12.0}]}'""" atexit.register(cleanup) @@ -44,4 +44,4 @@ def cleanup(): print("Return code:"+str(return_code)) -exit(return_code) \ No newline at end of file +exit(return_code) diff --git a/depthai-demo.py b/depthai_demo.py similarity index 100% rename from depthai-demo.py rename to depthai_demo.py diff --git a/depthai_supervisor.py b/depthai_supervisor.py index d4c8e2e00..275097c9d 100755 --- a/depthai_supervisor.py +++ b/depthai_supervisor.py @@ -26,7 +26,7 @@ def cleanup(): for arg in sys.argv[1:]: args+="'"+arg+"' " -cmd = "python3 depthai-demo.py " + args +cmd = "python3 depthai_demo.py " + args print(cmd) atexit.register(cleanup) @@ -44,4 +44,4 @@ def cleanup(): if(return_code <= 4): run = False -exit(return_code) \ No newline at end of file +exit(return_code) diff --git a/integration_test.py b/integration_test.py index ee7630489..63e48bc69 100755 --- a/integration_test.py +++ b/integration_test.py @@ -134,7 +134,7 @@ def cleanup(): config_builder = config_builder+separator+comb+'"' config_builder = config_builder + """]}'""" if subset: - cmd = "python3 depthai-demo.py " + config_builder + cmd = "python3 depthai_demo.py " + config_builder if(config_builder == """-co '{"streams": ["metaout"]}'"""): continue logger.info(cmd) diff --git a/repeat_test.py b/repeat_test.py index a9c83430a..7bedaaf7c 100755 --- a/repeat_test.py +++ b/repeat_test.py @@ -40,7 +40,7 @@ def cleanup(): for arg in sys.argv[1:]: args+="'"+arg+"' " -cmd = "python3 depthai-demo.py " + args +cmd = "python3 depthai_demo.py " + args logger.info(cmd)