Skip to content

Commit

Permalink
fix cim2pp encoding problem (#2457)
Browse files Browse the repository at this point in the history
  • Loading branch information
heckstrahler authored Nov 22, 2024
1 parent 15ebd0a commit 06b616b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Change Log
- [ADDED] Add GeographicalRegion and SubGeographicalRegion names and ids to bus df in cim converter
- [CHANGED] Capitalize first letter of columns busbar_id, busbar_name and substation_id in bus df for cim converter
- [FIXED] Do not modify pandas options when importing pandapower
- [FIXED] cim2pp: set default xml encoding to None to avoid error after changing to lxml

[2.14.11] - 2024-07-08
-------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pandapower/converter/cim/cim2pp/from_cim.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_converter_classes():
return converter_classes


def from_cim(file_list: List[str] = None, encoding: str = 'utf-8', convert_line_to_switch: bool = False,
def from_cim(file_list: List[str] = None, encoding: str = None, convert_line_to_switch: bool = False,
line_r_limit: float = 0.1, line_x_limit: float = 0.1,
repair_cim: Union[str, interfaces.CIMRepair] = None,
repair_cim_class: Type[interfaces.CIMRepair] = None,
Expand Down

0 comments on commit 06b616b

Please sign in to comment.