-
Notifications
You must be signed in to change notification settings - Fork 27
RL Parallel did not run out-of-the-box #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…ot track under/over flow bins by default) Remove comments which were relevant to histpy 1.x
Codecov Report❌ Patch coverage is
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Thanks, @avalluvan. Can we check if the input histogram has overflow/underflow bins first, and then adjust the way we slice it? |
|
For a pre-computed extended source response, you can check the overflow bins like this. |
and accordingly choose old or new response loader
|
@hiyoneda the recommended changes have been incorporated |
|
Thanks, Anaya. It is ready to be merged. |
|
Do you know how we can pass the codecov/path check for the parallel RL? |
|
Hi Hiroki. Gentle follow up to approve the pull request and complete the merge. |
|
Yes, I can approve it, but the codecov/path looks like it is failing, so the merging is blocked. I think that the unittest should cover dataIF_parallel, but it might be difficult due to OpenMPI. Do you remember how you solved it before (maybe @israelmcmc)? |
|
It's an open issu (#409). For now I think the only way is to run pytest-cov locally in a system that has MPI. @avalluvan Please add the necessary tests and check the coverage with pytest-cov. I'll take your word for it and bypass the codecov enforcement. Here are the instructions: https://github.com/cositools/cosipy/blob/develop/docs/dev/unit_tests.rst |


The recently merged pull request on RL Parallelization v2 #408 did not run out-of-the-box upon cosipy installation. The issue can be traced back to the update from histpy 1.x to 2.x. In the former, the underflow and overflow bins were tracked by default which required some workarounds for the RL dataIF code. As this tracking feature has been set to False by default in histpy 2.x, the workarounds had to be removed. This pull request verifies the code so that it can work with histpy 2.x.
Changes made: