Skip to content

Commit cf8952b

Browse files
authored
Merge pull request #18 from robcalon/bugfix/1.3.1
Bugfix/1.3.1
2 parents 40806df + 42798f8 commit cf8952b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyetm"
7-
version = "1.3.1"
7+
version = "1.3.2"
88

99
description = "Python-ETM Connector"
1010
authors = [{name = "Rob Calon", email = "[email protected]"}]

src/pyetm/client/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def etm_url(self):
6060
"""model URL"""
6161

6262
# raise error
63-
if self.etm_url is None:
63+
if self._etm_url is None:
6464
raise ValueError("ETModel URL not set on initialisation.")
6565

6666
return self._etm_url

src/pyetm/utils/categorisation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,6 @@ def categorise_curves(
154154
curves.columns = pd.MultiIndex.from_tuples(midx, names=names)
155155

156156
# aggregate over levels
157-
curves = curves.T.groupby(level=names).sum().T
157+
curves = curves.T.groupby(level=list(names)).sum().T
158158

159159
return curves.sort_index(axis=1)

0 commit comments

Comments
 (0)