Skip to content

Commit

Permalink
feat: fixed a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Asish Kumar <[email protected]>
  • Loading branch information
officialasishkumar committed Mar 13, 2024
1 parent 02c39c8 commit e14936a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions benchmarks/benchmark_read_stella_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
import os
from tardis.io.model import read_stella_model


class Benchmark_read_stella_model:
"""Class to benchmark the read_stella_model function.
"""
timeout = 200

def setup(self):
filename = "messa.stella.dat"
filename = "mesa.stella.dat"
dir_path = os.path.dirname(os.path.realpath(__file__))
path = os.path.join(dir_path, "data", filename)
self.path = path

def time_run_stella_model(self):
stella_model = read_stella_model(self.path)
stella_model
stella_model

0 comments on commit e14936a

Please sign in to comment.