-
Notifications
You must be signed in to change notification settings - Fork 74
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
stop counts cube from entering translator #3136
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3136 +/- ##
=======================================
Coverage 88.82% 88.82%
=======================================
Files 112 112
Lines 17430 17430
=======================================
Hits 15482 15482
Misses 1948 1948 ☔ View full report in Codecov by Sentry. |
Thanks. Is there a way to test this in the CI, preferably without remote data? |
Eventually we want a cube in |
With that being said, the problem should likely go away when generalizing the angle unit is implemented (and this translation becomes possible). I imagine this PR is probably not merging given when we expect the following PR to be implemented, but if the problem still arises then, we have some investigation to completed as to why. Although, I do think a test for counts cubes like what @pllim was suggesting is a great idea. I'm not sure if this is semantics or if there is a scientific value, but, what would the |
(Eventually) if a cube with units of |
Description
On app startup, when a cube with u.count units is loaded into Cubeviz, the
flux_or_sb_selected
is set to 'Flux'. This would then trigger_on_flux_unit_changed()
, and enter the condition for translating. An additional condition has been added to ensure thatflux_or_sb_selected
can be set without entering the translator when the native units are in counts.Change log entry
CHANGES.rst
? If you want to avoid merge conflicts,list the proposed change log here for review and add to
CHANGES.rst
before merge. If no, maintainershould add a
no-changelog-entry-needed
label.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.