We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9894a commit baf96eaCopy full SHA for baf96ea
2 files changed
pyproject.toml
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
8
[project]
9
name = "spotPython"
10
-version = "0.10.14"
+version = "0.10.15"
11
authors = [
12
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
13
]
src/spotPython/data/pkldataset.py
@@ -121,9 +121,12 @@ def __init__(
121
122
@property
123
def path(self):
124
+ # user defined directory:
125
if self.directory:
126
return pathlib.Path(self.directory).joinpath(self.filename)
- return pathlib.Path(__file__).parent.joinpath(self.filename)
127
+ # no user defined directory, use package directory
128
+ else:
129
+ return pathlib.Path(__file__).parent.joinpath(self.filename)
130
131
132
def _repr_content(self):
0 commit comments