Skip to content

Commit

Permalink
Bump version (#339)
Browse files Browse the repository at this point in the history
* Initial commit with CHANGELOG.rst

* Modify relevant files for new release

* Modify post-processing dosctring

* Fix postprocessing multiple-line docstring example
  • Loading branch information
hpesonen committed Oct 12, 2020
1 parent 305d09b commit 9ae457f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
=========


0.7.7 (2020-10-12)
------------------
- Update info to reflect setting python 3.6 as the default version
- Update documentation to setting python 3.6 as default
- Add dask support to elfi client options
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**Version 0.7.6 released!** See the [CHANGELOG](CHANGELOG.rst) and [notebooks](https://github.com/elfi-dev/notebooks).
**Version 0.7.7 released!** See the [CHANGELOG](CHANGELOG.rst) and [notebooks](https://github.com/elfi-dev/notebooks).

**NOTE:** For the time being NetworkX 2 is incompatible with ELFI.

Expand Down
2 changes: 1 addition & 1 deletion elfi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
__email__ = 'elfi-support@hiit.fi'

# make sure __version_ is on the last non-empty line (read by setup.py)
__version__ = '0.7.6'
__version__ = '0.7.7'
4 changes: 2 additions & 2 deletions elfi/clients/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ def get_result(self, task_id):
Parameters
----------
task_id: int
Returns
-------
dict
"""
async_result = self.tasks.pop(task_id)
return async_result.result()
Expand Down
4 changes: 2 additions & 2 deletions elfi/methods/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def adjust_posterior(sample, model, summary_names, parameter_names=None, adjustm
>>> import elfi
>>> from elfi.examples import gauss
>>> m = gauss.get_model()
>>> res = elfi.Rejection(m['d'], output_names=['ss_mean', 'ss_var'],\
batch_size=10).sample(500, bar=False)
>>> res = elfi.Rejection(m['d'], output_names=['ss_mean', 'ss_var'],
... batch_size=10).sample(500, bar=False)
>>> adj = adjust_posterior(res, m, ['ss_mean', 'ss_var'], ['mu'], LinearAdjustment())
"""
Expand Down

0 comments on commit 9ae457f

Please sign in to comment.