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 30fc432 commit f172949Copy full SHA for f172949
_delphi_utils_python/delphi_utils/validator/validate.py
@@ -58,10 +58,7 @@ def validate(self):
58
frames_list = load_all_files(self.export_dir, self.time_window.start_date,
59
self.time_window.end_date)
60
self.static_validation.validate(frames_list, report)
61
- # Check if frames_list is empty before calling aggregate_frames
62
- if len(frames_list) == 0:
63
- all_frames = []
64
- else:
65
- all_frames = aggregate_frames(frames_list)
66
- self.dynamic_validation.validate(all_frames, report)
+ # Dynamic Validation only performed when frames_list is populated
+ if len(frames_list) > 0:
+ self.dynamic_validation.validate(aggregate_frames(frames_list), report)
67
return report
0 commit comments