aboutsummaryrefslogtreecommitdiff
path: root/feast.py
diff options
context:
space:
mode:
Diffstat (limited to 'feast.py')
-rw-r--r--feast.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/feast.py b/feast.py
index 8fb5ce8..767d664 100644
--- a/feast.py
+++ b/feast.py
@@ -24,8 +24,7 @@ from ctypes import *
try:
libFSToolbox = CDLL("libFSToolbox.so");
except:
- print "Error: could not find libFSToolbox"
- exit()
+ raise Exception("Error: could not load libFSToolbox.so")
def BetaGamma(data, labels, n_select, beta=1.0, gamma=1.0):