Loading raps/engine.py +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ class Engine: if len(snap_map) > 0: if partition_short not in snap_map: raise RuntimeError(f"Snapshot '{partition_short}.npz' not in {sim_config.replay[0]}") replay_files = snap_map[partition_short] replay_files = [snap_map[partition_short]] else: replay_files = sim_config.replay else: Loading raps/telemetry.py +5 −1 Original line number Diff line number Diff line Loading @@ -61,6 +61,10 @@ class TelemetryArgs(RAPSBaseModel): raise ValueError("Either --live or --replay is required") return self @property def system_name(self): return self.system shortcuts = { "replay": "f", Loading Loading @@ -208,7 +212,7 @@ class Telemetry: for file in files: print(f"Loading {file}") new_data, args_from_file = self.load_snapshot(file) print(f"File was generated with: --system {args_from_file.system}") print(f"File was generated with: --system {args_from_file.system_name}") if not data: data = new_data else: Loading Loading
raps/engine.py +1 −1 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ class Engine: if len(snap_map) > 0: if partition_short not in snap_map: raise RuntimeError(f"Snapshot '{partition_short}.npz' not in {sim_config.replay[0]}") replay_files = snap_map[partition_short] replay_files = [snap_map[partition_short]] else: replay_files = sim_config.replay else: Loading
raps/telemetry.py +5 −1 Original line number Diff line number Diff line Loading @@ -61,6 +61,10 @@ class TelemetryArgs(RAPSBaseModel): raise ValueError("Either --live or --replay is required") return self @property def system_name(self): return self.system shortcuts = { "replay": "f", Loading Loading @@ -208,7 +212,7 @@ class Telemetry: for file in files: print(f"Loading {file}") new_data, args_from_file = self.load_snapshot(file) print(f"File was generated with: --system {args_from_file.system}") print(f"File was generated with: --system {args_from_file.system_name}") if not data: data = new_data else: Loading