Skip to content
Snippets Groups Projects
Commit 03782eae authored by Gregory Ashton's avatar Gregory Ashton
Browse files

If lalsuite just raise a warning rather than throwingn error

parent 1d8f16a2
No related branches found
No related tags found
No related merge requests found
Pipeline #
from __future__ import division, print_function
import logging
try:
import lalsimulation as lalsim
except ImportError:
raise ImportWarning("You do not have lalsuite installed currently. You will not be able to use some of the "
logging.warning("You do not have lalsuite installed currently. You will not be able to use some of the "
"prebuilt functions.")
from . import utils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment