From 03782eaea2c6dc32312ce210e2f6797963acea2a Mon Sep 17 00:00:00 2001
From: Gregory Ashton <gregory.ashton@ligo.org>
Date: Sun, 13 May 2018 03:47:23 -0700
Subject: [PATCH] If lalsuite just raise a warning rather than throwingn error

---
 tupak/source.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tupak/source.py b/tupak/source.py
index 230f876eb..c5d21660a 100644
--- a/tupak/source.py
+++ b/tupak/source.py
@@ -1,9 +1,11 @@
 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
-- 
GitLab