-
Notifications
You must be signed in to change notification settings - Fork 115
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
Fix: 305 #308
Fix: 305 #308
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #308 +/- ##
===========================================
- Coverage 74.51% 74.50% -0.01%
===========================================
Files 121 121
Lines 14806 14809 +3
===========================================
+ Hits 11032 11033 +1
- Misses 3774 3776 +2 |
radis/misc/profiler.py
Outdated
/ total_sum_verbose_wise[i] | ||
* 100, | ||
) | ||
except: |
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.
Good practice : can you always precise the excepted error ? (ZeroDivisionError probably here)?
Having an open except comment makes the code harder to read.
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.
agreed
Approved ; @minouHub I let you boldly click the Merge button ! |
I fired it :p |
Description
This pull request Fixes #305, updates profiler keys and removes round function for calculation time.