v0.1.10
This commit is contained in:
@@ -100,6 +100,9 @@ class BasePipeline:
|
||||
first_reset = True
|
||||
self.last_reset_time = sim_data.sim_time
|
||||
sim_data = self.sim.step()
|
||||
except Exception as e:
|
||||
logger.error(f"❌ Pipeline execution failed with error: {e}")
|
||||
raise e
|
||||
finally:
|
||||
self.sim.close_viewer()
|
||||
self.sim.close_video_writer()
|
||||
|
||||
@@ -144,7 +144,7 @@ class MultiPipeline:
|
||||
|
||||
save_path = logger.log_dir / "aggregated_results.yaml"
|
||||
with open(save_path, 'w') as file:
|
||||
yaml.dump(summary, file, allow_unicode=True)
|
||||
yaml.dump(summary, file, allow_unicode=True, sort_keys=False)
|
||||
logger.info("✅ Aggregated execution finished.")
|
||||
logger.info(f"📁 Aggregated results saved to: {save_path}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user