Skip to content

Commit 5aa2b70

Browse files
authored
Merge pull request #43 from ClimateImpactLab/abc_fix
Add missing 'self' arg to abstract method
2 parents 10faf4a + a66831b commit 5aa2b70

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Changed
99
- Quiet unused(?), common, logging messages to terminal. ([PR #14](https://github.com/ClimateImpactLab/dscim/pull/14), [@brews](https://github.com/brews))
10+
### Fixed
11+
- Add missing `self` arg to `global_consumption_calculation` abstract method. ([PR #43](https://github.com/ClimateImpactLab/dscim/pull/43), [@brews](https://github.com/brews))
1012

1113
## [0.1.0] - 2022-08-30
1214
- Initial release.

src/dscim/menu/main_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def median_params_marginal_damages(self):
768768
return median_params_marginal_damages
769769

770770
@abstractmethod
771-
def global_consumption_calculation(disc_type):
771+
def global_consumption_calculation(self, disc_type):
772772
"""Calculation of global consumption without climate change
773773
774774
Returns

0 commit comments

Comments
 (0)