Skip to content

Commit

Permalink
👌 Made as_optimized keyword only
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Jan 30, 2022
1 parent fc9479f commit 6203cfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glotaran/builtin/io/pandas/tsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_parameters(self, file_name: str) -> ParameterGroup:
return ParameterGroup.from_dataframe(df, source=file_name)

def save_parameters(
self, parameters: ParameterGroup, file_name: str, as_optimized: bool = True
self, parameters: ParameterGroup, file_name: str, *, as_optimized: bool = True
):
"""Save a :class:`ParameterGroup` to a TSV file.
Expand Down
2 changes: 1 addition & 1 deletion glotaran/builtin/io/pandas/xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def load_parameters(self, file_name: str) -> ParameterGroup:
return ParameterGroup.from_dataframe(df, source=file_name)

def save_parameters(
self, parameters: ParameterGroup, file_name: str, as_optimized: bool = True
self, parameters: ParameterGroup, file_name: str, *, as_optimized: bool = True
):
"""Save a :class:`ParameterGroup` to a Excel file.
Expand Down

0 comments on commit 6203cfe

Please sign in to comment.