Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Mar 12, 2024
1 parent 32e946e commit 2b238e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/_extension/gallery_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Credit: PyData Sphinx Theme
"""

from pathlib import Path
from typing import Any, Dict, List

Expand Down
8 changes: 3 additions & 5 deletions pybop/parameters/parameter_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,9 @@ def _handle_special_cases(self):
"Open-circuit voltage [V]" in self.params
and self.params["Open-circuit voltage [V]"] == "default"
):
self.params[
"Open-circuit voltage [V]"
] = pybop.empirical.Thevenin().default_parameter_values[
"Open-circuit voltage [V]"
]
self.params["Open-circuit voltage [V]"] = (
pybop.empirical.Thevenin().default_parameter_values["Open-circuit voltage [V]"]
)

def export_parameters(self, output_json_path, fit_params=None):
"""
Expand Down

0 comments on commit 2b238e4

Please sign in to comment.