Skip to content

Commit

Permalink
Update benchmarks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykubica committed Oct 16, 2024
1 parent 2c06c62 commit a018bdd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
For more information on writing benchmarks:
https://asv.readthedocs.io/en/stable/writing_benchmarks.html."""

from pathlib import Path

import numpy as np
import tdastro
from astropy import units as u
Expand All @@ -20,7 +18,7 @@

def _load_test_passbands():
"""Load passbands to use in various benchmarks."""
passbands_dir = Path(tdastro._TDASTRO_TEST_DATA_DIR, "passbands")
passbands_dir = tdastro._TDASTRO_TEST_DATA_DIR / "passbands"
passbands = PassbandGroup(
passband_parameters=[
{
Expand Down

0 comments on commit a018bdd

Please sign in to comment.