Skip to content

Commit

Permalink
fix: Pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Sep 17, 2024
1 parent 43a8dbe commit 11341ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neps/optimizers/bayesian_optimization/models/ftpfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ def _download_workaround_for_ifbo_issue_10(path: Path | None, version: str) -> P
# TODO: https://github.com/automl/ifBO/issues/10
import requests
from ifbo.download import FILE_URL, FILENAME
from ifbo.surrogate import _resolve_model_path

target_path = Path(path) if path is not None else Path.cwd().resolve()
target_path = Path(path) if path is not None else Path.cwd().resolve() / ".model"
target_path.mkdir(parents=True, exist_ok=True)

_target_zip_path = target_path / FILENAME(version)
Expand Down

0 comments on commit 11341ee

Please sign in to comment.