Skip to content

Commit

Permalink
finished updating examples, patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljgasper committed Aug 8, 2024
1 parent 08225b7 commit d7e46a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions blast/utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
import importlib
from blast.models._available_models import available_models

def simulate_all_models(**kwargs):
def simulate_all_models(*args, **kwargs):
models = available_models()
cells = []
for model in models:
This_Battery_Model = getattr(importlib.import_module("blast.models"), model)
cell = This_Battery_Model()
cell.simulate_battery_life(**kwargs)
cell.simulate_battery_life(*args, **kwargs)
cells.append(cell)

return cells
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "BLAST-Lite"
version = "1.0.0"
version = "1.0.1"
authors = [
{ name="Paul Gasper", email="[email protected]" },
{ name="Kandler Smith", email="[email protected]" },
Expand Down

0 comments on commit d7e46a7

Please sign in to comment.