Skip to content
Snippets Groups Projects
Commit 289e4393 authored by moritz's avatar moritz
Browse files

Moritz Huebner: Introduced except block for now again with a sensible warning...

Moritz Huebner: Introduced except block for now again with a sensible warning given the current state..
parent 4f9d4edd
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -2,8 +2,17 @@ from __future__ import division, print_function
import os
import lal
import lalsimulation as lalsim
try:
import lal
except ImportError:
raise ImportWarning("You do not have lalsuite installed currently. You will not be able to use some of the "
"prebuilt functions.")
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 "
"prebuilt functions.")
from astropy.table import Table
from utils import nfft, get_sampling_frequency
......
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