Skip to content

Commit

Permalink
Merge pull request #116 from sciris/fix-parallelize
Browse files Browse the repository at this point in the history
Fix shared object bug in parallization
  • Loading branch information
RomeshA committed Jul 21, 2020
2 parents 1892d9b + 7239e74 commit cd9969f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

By import convention, components of the Sciris library are listed beginning with `sc.`, e.g. `sc.odict()`.

## Version 0.17.3 (2020-07-21)
1. `sc.parallelize()` now explicitly deep-copies objects, since on some platforms this copying does not take place as part of the parallelization process.

## Version 0.17.2 (2020-07-13)
1. `sc.search()` is a new function to find nested attributes/keys within objects or dictionaries.

Expand Down
1 change: 1 addition & 0 deletions sciris/sc_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ def parallel_task(taskargs, outputqueue=None):
''' Task called by parallelize() -- not to be called directly '''

# Handle inputs
taskargs = ut.dcp(taskargs)
func = taskargs.func
index = taskargs.index
args = taskargs.args
Expand Down
4 changes: 2 additions & 2 deletions sciris/sc_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__all__ = ['__version__', '__versiondate__', '__license__']

__version__ = '0.17.2'
__versiondate__ = '2020-07-13'
__version__ = '0.17.3'
__versiondate__ = '2020-07-21'
__license__ = 'Sciris %s (%s) -- (c) Sciris.org' % (__version__, __versiondate__)

0 comments on commit cd9969f

Please sign in to comment.