Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Update the parmap calls to use the new parmap arguments #1
I had to make some changes in parmap arguments and now all parmap arguments are prefixed with
If you want to test this, make sure you have installed the latest parmap version with
This pull request updates your parmap calls to the new arguments.
The last parmap version I released allows for keyword arguments to be passed to parallelized functions like this:
In order to prevent confusion between parmap arguments and keyword arguments passed to yourfunc, it was necessary to use a common prefix for all parmap parameters.
With this new syntax, it is easy for anyone to see that keyword arguments starting with
That's why I had to change
On the other hand, the best way to use parmap with a specific number of CPUs is through the
Currently the old parmap arguments are still valid, and they give deprecation warnings so users can update the syntax. However it is best to transition to the new arguments, as a future parmap 2.0 version might break this backwards compatibility.
The parmap dependency in setup.py has been updated accordingly as well.
Sorry for the inconvenience