-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refactoring the periodic broadcaster and added warn + error + test #349
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #349 +/- ##
==========================================
- Coverage 93.24% 93.17% -0.07%
==========================================
Files 39 39
Lines 918 909 -9
==========================================
- Hits 856 847 -9
Misses 62 62
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks @gvegayon! What do we gain by implementing a factory? It seems to me that we could have two functions |
The refactoring reduced code size. Keeping both in the same also saved some code, but I do like the look of what you are proposing. |
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.
@gvegayon Based on the thumbs up / responses to #349 (comment), I request that you please do something like is suggested in the comment.
…ultisignal-epi-inference into 347-testfix-periodicbroadcaster
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.
I think the description of the offset parameter in repeat_until_n
is incorrect.
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.
Minor suggestions
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.
LGTM, thanks @gvegayon
offset parameter description now addressed
This PR does the following:
PeriodicBroadcaster
from a class to a factory (like with the scanner functions).PeriodicBroadcaster
.