-
Notifications
You must be signed in to change notification settings - Fork 1
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
Prep for lstbin subpackage #150
Conversation
for more information, see https://pre-commit.ci
…a_opm into prep-for-lstbin-subpackage
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #150 +/- ##
==========================================
- Coverage 99.46% 98.87% -0.59%
==========================================
Files 4 4
Lines 742 710 -32
==========================================
- Hits 738 702 -36
- Misses 4 8 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…a_opm into prep-for-lstbin-subpackage
for more information, see https://pre-commit.ci
…a_opm into prep-for-lstbin-subpackage
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 very much @steven-murray! This looks great.
One general comment I have is that I'm a little worried about the large dip in test coverage. I know that sometimes it can't be helped, especially if it depends on having different options in the config files, but this seems like a significant number of lines that are not covered by tests (almost 100 lines by codecov's reckoning). How hard would it be to increase the coverage for some of these lines?
If it's not easy to increase coverage, and we've tested that these new functions work "in the wild", then we can merge as is. Just checking to see how big a lift it would be.
@plaplant thanks for the review! Yes, I noticed the same thing, and I'm trying to improve test coverage now. The biggest problem is that there are now three ways of creating the LST-bin makeflows: the <=H4C way, the legacy H6C way, and the new lstbin-notebook way. Some of these depend on different versions of hera_cal being installed. So, it will take a bit of effort to make sure all of them are tested at once. I will give it a go. |
Would it be a lot less work to just drop the "legacy H6C" way? |
@plaplant OK I thought through it a bit and realized that I was just trying to support too many different iterations of hera_cal. I've updated it so that it now only supports the newer interface -- if we need to re-run older makeflows, we will just need to install older versions of If you think we need to maintain support for older analysis configurations, then I can try putting those back in. |
What's the status of this PR? Apparently, it's necessary for the new LST-binner (and therefore H6C analysis). |
@plaplant this is now ready I think. the code coverage is not 100% but the lines missed are mostly exceptions for corner cases that don't occur naturally. |
Is this ready to go @plaplant ? I'd love to stop using a branch for H6C IDR3.2 |
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 @steven-murray! I just have a small comment, but then I'm happy to merge this 👍
Adds a new "type" of makeflow creator, for the LSTbin-notebook.