MCPcopy Create free account
hub / github.com/AimRT/AimRT / update_progress

Method update_progress

src/examples/utils/run_all_example.py:63–65  ·  view source on GitHub ↗
(self, progress)

Source from the content-addressed store, hash-verified

61 os.makedirs(test_log_save_path)
62
63 def update_progress(self, progress):
64 sys.stdout.write("\r" + self.draw_progress_bar(progress))
65 sys.stdout.flush()
66
67 def draw_progress_bar(self, progress: float, total_width: int = 50) -> str:
68 progress = max(0, min(1, progress))

Callers 1

runMethod · 0.95

Calls 1

draw_progress_barMethod · 0.95

Tested by

no test coverage detected