This repository has been archived by the owner on May 18, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
As the parmap author I have been contacting parmap users to make sure they can smoothly update to the minor API changes I had to make in
parmap==1.5.0
. This pull request updates your code to reflect those changes. Basically I had to replaceparallel=True
withpm_parallel=True
. It has been so far a very smooth upgrade with no issues in any other parmap user.Unfortunately, I have found an issue in your usage of parmap that may have lead to some incorrect results. Until parmap 1.5.0,
parmap.map
supported multiple positional arguments, but not keyword arguments. This was stated in the README. However, you were usingparmap
and trying to pass thestrand_specific=
keyword argument in this line of code. I am sorry to say that this keyword argument was never passed to the underlyingcoverage_single
function, and therefore the defaultstrand_specific=False
was always used.If you want to check the impact of this bug on your results, please make sure you have the latest parmap version installed (which does support keyword arguments, you can use
pip install -U parmap
) and run your code again, once you have accepted this pull request. I hope for the best and that the impact is small.Best,
Sergio