We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82c414 commit a4500e7Copy full SHA for a4500e7
src/power_grid_model_io/converters/pandapower_converter.py
@@ -1536,7 +1536,7 @@ def _pp_asym_gens_output(self):
1536
# TODO: create unit tests for the function
1537
assert "res_asymmetric_sgen" not in self.pp_output_data
1538
1539
- if "asym_gen" not in self.pgm_output_data or self.pgm_output_data[ComponentType.asym_gen].size == 0:
+ if ComponentType.asym_gen not in self.pgm_output_data or self.pgm_output_data[ComponentType.asym_gen].size == 0:
1540
return
1541
1542
pgm_output_asym_gens = self.pgm_output_data[ComponentType.asym_gen]
0 commit comments