Skip to content

Commit

Permalink
change "system_name" in fonfiguration json
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoppe-J committed Jan 21, 2025
1 parent 7a8a6bc commit 4e6a79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hisim/postprocessing/postprocessing_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ def prepare_results_for_scenario_evaluation(self, ppdt: PostProcessingDataTransf

def write_component_configurations_to_json(self, ppdt: PostProcessingDataTransfer) -> None:
"""Collect all component configurations and write into JSON file in result directory."""
json_generator_config = JsonConfigurationGenerator(name="my_system")
json_generator_config = JsonConfigurationGenerator(name=f"{self.scenario}")
for component in ppdt.wrapped_components:
json_generator_config.add_component(config=component.my_component.config)
json_generator_config.save_to_json(
Expand Down

0 comments on commit 4e6a79f

Please sign in to comment.