Skip to content

Commit

Permalink
Add error message to skimage import warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Nov 21, 2023
1 parent a0c807b commit d4ba51e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acstools/utils_findsat_mrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from skimage import transform
from skimage.transform._warps import warp
from skimage._shared.utils import convert_to_float
except ImportError:
warnings.warn('skimage not installed. MRT calculation will not work.')
except ImportError as e:
warnings.warn(f'skimage not installed. MRT calculation will not work: {repr(e)}')

# check for scipy
try:
Expand Down

0 comments on commit d4ba51e

Please sign in to comment.