-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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 time granularity-related issues #4821
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4821 +/- ##
==========================================
+ Coverage 76.98% 77.01% +0.03%
==========================================
Files 44 44
Lines 8498 8501 +3
==========================================
+ Hits 6542 6547 +5
+ Misses 1956 1954 -2
Continue to review full report at Codecov.
|
Taking a look — thanks for fixing this! |
|
||
For backward compatibility""" | ||
d = {grain.duration: grain for grain in self.grains()} | ||
d.update({grain.label: grain for grain in self.grains()}) |
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.
How do the grains show up in the form? Do we have duplicates?
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.
Looks ok. The dropdown uses the grains
property, not grains_dict
.
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.
Awesome, thanks!
bea6bd8
to
e460457
Compare
e460457
to
98b372f
Compare
* Fixing time grain * Add tests
* Fixing time grain * Add tests
* Fixing time grain * Add tests
related to #4755
@betodealmeida 👀