-
Notifications
You must be signed in to change notification settings - Fork 11
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
Better basf2-related docs, examples and change how basf2 release hash is calculated for local releases. #193
Better basf2-related docs, examples and change how basf2 release hash is calculated for local releases. #193
Conversation
…events to process directly via basf2.process
Looks good to me 👍 . I assume you tested the new examples work, right?
|
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #193 +/- ##
==========================================
+ Coverage 59.20% 60.52% +1.32%
==========================================
Files 23 23
Lines 1554 1586 +32
==========================================
+ Hits 920 960 +40
+ Misses 634 626 -8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Michael Eliachevitch <[email protected]>
Co-authored-by: Michael Eliachevitch <[email protected]>
|
…om:giacomoxt/b2luigi into feature/better-basf2-related-documentation
…ash in case of local version
By the way, this PR still needs an entry to the
Sounds sensible to me. In Python it's common to first show a |
Just raising errors breaks unit tests and is just a backwards incompatible behaviour. Changing it should be a separate PR, then unittests could be fixed by mocking. Also added more documentation.
Still didn't test the cases for local development version, where basf2 needs to be imported
@meliache thanks a lot for having taken care of the last remaining issues (I was on vacation during the last two days). |
Top-level
import ROOT
is very nasty and it must be avoided as much as possible. So, I removed them.Moreover, better not to invoke the Environment singleton, but to directly use the parmaeter in
basf2.process
for the maximum number of events.And in case it's not evident, I don't like
basf2.create_path()
. :D