diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/loader.py | 2 | ||||
-rw-r--r-- | lib/runner.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/loader.py b/lib/loader.py index 4e07c92..57b3d30 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -481,7 +481,7 @@ class RawData: if sorted(online_trace_part["parameter"].keys()) != self._parameter_names: processed_data[ "error" - ] = "Offline #{off_idx:d} (online {on_name:s} @ {on_idx:d}/{on_sub:d}) has inconsistent parameter set: should be {param_want:s}, is {param_is:s}".format( + ] = "Offline #{off_idx:d} (online {on_name:s} @ {on_idx:d}/{on_sub:d}) has inconsistent parameter set: should be {param_want}, is {param_is}".format( off_idx=offline_idx, on_idx=online_run_idx, on_sub=online_trace_part_idx, diff --git a/lib/runner.py b/lib/runner.py index 77b7c68..96569a8 100644 --- a/lib/runner.py +++ b/lib/runner.py @@ -419,7 +419,7 @@ def sleep_ms(duration: int, arch: str, cpu_freq: int = None) -> str: if tail_sleep > 0: ret += f"arch.sleep_ms({tail_sleep});\n" return ret - return "arch.sleep_ms({duration});\n" + return f"arch.sleep_ms({duration});\n" def get_counter_limits_us(arch: str) -> tuple: |