From 961c27f0d3af5cbe624bdd2b40f43e86132f05f1 Mon Sep 17 00:00:00 2001 From: Sam Scholten Date: Mon, 27 Oct 2025 18:25:10 +1000 Subject: fix: Remove unused logger debug statements from decimation manager Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) --- src/scopekit/decimation.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/scopekit/decimation.py b/src/scopekit/decimation.py index d60ac3b..107054d 100644 --- a/src/scopekit/decimation.py +++ b/src/scopekit/decimation.py @@ -312,9 +312,6 @@ class DecimationManager: adaptive_envelope_window = max( 1, step // 2 ) # Half the step size for smoother envelope - logger.debug( - f"Calculated adaptive envelope window: {adaptive_envelope_window} samples (step={step})" - ) # Ensure step is not zero, and calculate number of bins if step == 0: # Should not happen with max(1, ...) but as a safeguard @@ -500,7 +497,6 @@ class DecimationManager: xlim_raw, max_points, use_envelope, data_id ) # Cache key doesn't need return_envelope_min_max if cache_key in self._cache: - logger.debug(f"Using cached decimation for key: {cache_key}") return self._cache[cache_key] # --- Strategy: Use pre-decimated envelope if in envelope mode and view is wide --- -- cgit v1.2.3