diff --git a/compliance/check.py b/compliance/check.py index 5adcd19..93d9d6f 100755 --- a/compliance/check.py +++ b/compliance/check.py @@ -408,6 +408,8 @@ def get_avg_power(power_path: str, run_path: str) -> Tuple[float, float]: with open(spl_fname) as f: for line in f: + if not line.startswith("Time"): + continue timestamp = ( datetime.strptime(line.split(",")[1], datetime_format) ).replace(tzinfo=timezone.utc)