Skip to content

Commit

Permalink
remove a debug statement that CI didn't like
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Jan 26, 2025
1 parent b106460 commit 06819cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spectral_cube/cube_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,10 +1272,6 @@ def two_closest_channels(cube, channel):
)
for cube in scubes]
log.debug(f"channel range: {channel.value*(1+extrapolation_tolerance), channel.value*(1-extrapolation_tolerance)}")
log.debug(f'keep2={keep2}, minmaxs = {[(cube.spectral_axis.min(), cube.spectral_axis.max(),
cube.spectral_axis.min() <= channel*(1+extrapolation_tolerance),
cube.spectral_axis.max() >= channel*(1-extrapolation_tolerance),
) for cube in scubes]}')
# merge the two 'keep' arrays
keep = np.array(keep1) & np.array(keep2)
if sum(keep) < len(keep):
Expand Down

0 comments on commit 06819cc

Please sign in to comment.