Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add kwargs to simulation API reproduction #64

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ebcpy/simulationapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,5 +514,6 @@ def save_for_reproduction(self,
return save_reproduction_archive(
title=title,
path=path,
files=files
files=files,
**kwargs
)
6 changes: 4 additions & 2 deletions ebcpy/simulationapi/dymola_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,8 @@ def save_for_reproduction(
path: pathlib.Path = None,
files: list = None,
save_total_model: bool = True,
export_fmu: bool = True
export_fmu: bool = True,
**kwargs
):
"""
Additionally to the basic reproduction, add info
Expand Down Expand Up @@ -929,7 +930,8 @@ def save_for_reproduction(
return super().save_for_reproduction(
title=title,
path=path,
files=files
files=files,
**kwargs
)

def _save_to_fmu(self, fail_on_error):
Expand Down
3 changes: 2 additions & 1 deletion ebcpy/simulationapi/fmu.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,5 +394,6 @@ def save_for_reproduction(self,
return super().save_for_reproduction(
title=title,
path=path,
files=files
files=files,
**kwargs
)