Skip to content

Commit

Permalink
making prints logger entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmejia committed Sep 24, 2024
1 parent 4823e8f commit 68793ef
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/cextern/fast_median/fast_median.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
from numpy.ctypeslib import ndpointer
from scipy.ndimage import median_filter

from lvmdrp import log


HAVE_MEDIAN_SO = False
try:
import platform
Expand Down Expand Up @@ -50,10 +53,10 @@

HAVE_MEDIAN_SO = True
except Exception:
print(Exception)
log.error(Exception)
pass

print('HAVE_MEDIAN_SO ',HAVE_MEDIAN_SO)
log.debug('HAVE_MEDIAN_SO ',HAVE_MEDIAN_SO)

if HAVE_MEDIAN_SO is True:
def fast_median_filter_2d(input, size=None):
Expand Down

0 comments on commit 68793ef

Please sign in to comment.