Skip to content

Commit

Permalink
Move docstring and fix openfisca-doc warning
Browse files Browse the repository at this point in the history
Merge pull request #815 from openfisca/move-docstring
  • Loading branch information
sandcha authored Jan 28, 2019
2 parents 865fd7f + 2931a53 commit 5025db5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 25.2.8 [#815](https://github.com/openfisca/openfisca-core/pull/815)

- Quell a warning in the build of openfisca-doc by moving a docstring to the right place

### 25.2.7 [#803](https://github.com/openfisca/openfisca-core/pull/803)

- Allow country package users to run `openfisca test` without installing the `web_api` dependency
Expand Down
6 changes: 3 additions & 3 deletions openfisca_core/tracers.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ def _print_details(key, depth):
return _print_details(key, 0)

def computation_log(self, aggregate = False):
return [self._print_node(node, depth, aggregate) for node, depth in self._computation_log]

def print_computation_log(self, aggregate = False):
"""
Print the computation log of a simulation.
Expand All @@ -240,9 +243,6 @@ def computation_log(self, aggregate = False):
If ``aggregate`` is ``True``, only print the minimum, maximum, and average value of each computed vector.
This mode is more suited for simulations on a large population.
"""
return [self._print_node(node, depth, aggregate) for node, depth in self._computation_log]

def print_computation_log(self, aggregate = False):
for line in self.computation_log(aggregate):
print(line)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

setup(
name = 'OpenFisca-Core',
version = '25.2.7',
version = '25.2.8',
author = 'OpenFisca Team',
author_email = 'contact@openfisca.org',
classifiers = [
Expand Down

0 comments on commit 5025db5

Please sign in to comment.