diff options
author | Calvin <calvin@EESI> | 2013-04-02 11:32:57 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-04-02 11:32:57 -0400 |
commit | 33ec6f1556f0c29f599841b34944b834183eb1ab (patch) | |
tree | fa154031a44b19d0c5dde54b098e89e9c5f47e0d /feast.py | |
parent | 7f476142f51e8e997bc9d3e1c20bc0bad6586dd7 (diff) |
Throw a proper exception if the linker cannot find libFSToolbox.so, and remove the ToDo section
Diffstat (limited to 'feast.py')
-rw-r--r-- | feast.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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): |