Skip to content

Commit 9e8d94c

Browse files
committed
g
1 parent db4f379 commit 9e8d94c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sports2D/Utilities/tests.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,11 @@ def test_workflow():
5151
subprocess.run(demo_cmd, check=True, capture_output=True, text=True)
5252

5353

54-
# From command line (CLI) with config file
54+
# TODO: From command line (CLI) with config file
5555
cli_config_path = Path(__file__).resolve().parent.parent / 'Demo' / 'Config_demo.toml'
5656
config_dict = toml.load(cli_config_path)
57-
# cli_video_file = 'demo.mp4'
5857
cli_video_dir = Path(__file__).resolve().parent.parent / 'Demo'
59-
# config_dict.get("project").update({"video_input": cli_video_file})
60-
config_dict.get("project").update({"video_dir": cli_video_dir})
58+
config_dict.get("project").update({"video_dir": str(cli_video_dir)})
6159
with open(cli_config_path, 'w') as f: toml.dump(config_dict, f)
6260

6361
demo_config_cmd = ["sports2d", "--config", str(cli_config_path), "--show_realtime_results", "False", "--show_plots", "False"]

0 commit comments

Comments
 (0)