Skip to content

Commit

Permalink
Merge pull request #163 from pastas/dev
Browse files Browse the repository at this point in the history
Release v1.10.0
  • Loading branch information
dbrakenhoff authored Feb 5, 2025
2 parents f813ea0 + 2cdc095 commit 46e993d
Show file tree
Hide file tree
Showing 5 changed files with 341 additions and 77 deletions.
2 changes: 1 addition & 1 deletion pastastore/connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ def _write_pstore_config_file(self):
config = {
"connector_type": self.conn_type,
"name": self.name,
"path": self.parentdir,
"path": os.path.abspath(self.parentdir),
}
with open(
os.path.join(self.path, f"{self.name}.pastastore"), "w", encoding="utf-8"
Expand Down
7 changes: 7 additions & 0 deletions pastastore/extensions/hpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ def __init__(self, store):
"""
self._store = store

def __repr__(self):
"""Return string representation of HydroPandasExtension."""
methods = "".join(
[f"\n - {meth}" for meth in dir(self) if not meth.startswith("_")]
)
return "HydroPandasExtension, available methods:" + methods

def add_obscollection(
self,
libname: str,
Expand Down
Loading

0 comments on commit 46e993d

Please sign in to comment.