Closed ianthomas23 closed 9 months ago
Merging #1280 (cb41f58) into main (3dab9df) will decrease coverage by
0.03%
. The diff coverage is63.63%
.
@@ Coverage Diff @@
## main #1280 +/- ##
==========================================
- Coverage 83.54% 83.52% -0.03%
==========================================
Files 35 35
Lines 9134 9145 +11
==========================================
+ Hits 7631 7638 +7
- Misses 1503 1507 +4
Files Changed | Coverage Δ | |
---|---|---|
datashader/compiler.py | 88.85% <63.63%> (-0.95%) |
:arrow_down: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Fixes #1266.
This adds some debug logging to the
compiler.py
module to show the dynamically-generated Python code that is subsequently compiled by numba. By default logging is disabled, and when it is enabled an example of the logged output for an antialiasedds.where(ds.min("value"), "other")
reduction isTo enable logging in a user script use
This is the standard approach and is a bit verbose but suffices for the moment. In future we could consider adding a new
setup_logging
function that does all of this in a one-liner.