-
Notifications
You must be signed in to change notification settings - Fork 22
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
Pk1d test #991
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding at least a simple end-to-end test for the P1d post-processing. This can be refined and augmented by actual unit-tests in later PRs changing the post-processing code. At least we now check that we do not accidentally modify the results with code changes.
That's weird, I went through the coverage report and everything looks fine. It does say that the pk1d coverage has decreased overall but then when you go into the files it does not flag any specific file. One possible explanation is that it is comparing it with the previous run in general (and not necessarily with the last run on the master branch). I'm mentioning this since I opened another PR where I am adding a significant amount of testing for the masking (and thus the testing should improve overall). A simple test to check this would be to merge the other PR first and then rerun this test. I'm fine with the changes and I would be happy to merge (though I have to say that I would like to test this idea first. If this is the case, then we should try to have separate coverall tests for the delta_extraction and the pk1d module |
Ok, so I'm waiting for the merge of your PR |
@iprafols @armengau
I'd opt for 1 and say we do 2 in a follow-up PR. |
I agree |
a simple test routine for picca_Pk1D_postprocess.py