nanshe/nanshe/wavelet_transform.py: For `wavelet_transform`, convert generic exceptions to assertions.
nanshe/nanshe/wavelet_transform.py: For `wavelet_transform`, convert generic exceptions to assertions.

DudLab/nanshe,jakirkham/nanshe,jakirkham/nanshe,nanshe-org/nanshe,nanshe-org/nanshe,DudLab/nanshe