Skip to content

Commit

Permalink
Use the correct path inside the package for the config
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliabaldini committed Jul 23, 2024
1 parent e0182ec commit 246dd18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exact_kmeans/ilp.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def __init__(
self,
X: Union[np.ndarray, pd.DataFrame],
k: int,
config_file: Union[str, Path] = Path(__file__).parent.parent.resolve()
config_file: Union[str, Path] = Path(
os.path.split(__file__)[0]
).parent.resolve()
/ "config"
/ "default.yaml",
cache_current_run_path: Optional[Path] = None,
Expand Down

0 comments on commit 246dd18

Please sign in to comment.