We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c4ec13 commit 539465cCopy full SHA for 539465c
nebula/scenarios.py
@@ -885,11 +885,12 @@ def scenario_finished(self, timeout_seconds):
885
@classmethod
886
def generate_statistics(cls, path):
887
try:
888
- # Generate statistics
889
- logging.info(f"Generating statistics for scenario {path}")
890
-
891
# Define input directories
892
input_event_dirs = sorted(glob.glob(os.path.join(path, "metrics/*")))
+ if not input_event_dirs:
+ return False
+ # Generate statistics
893
+ logging.info(f"Generating statistics for scenario {path}")
894
# Where to write reduced TB events
895
tb_events_output_dir = os.path.join(path, "metrics", "reduced-data")
896
csv_out_path = os.path.join(path, "metrics", "reduced-data-as.csv")
0 commit comments