More refactoring

This commit is contained in:
Samer Afach 2017-01-12 21:09:31 +01:00
parent 6af96cf9c8
commit 36656e46d2

View File

@ -15,7 +15,8 @@ try:
_OpenBLASLibPath = os.path.join(os.path.dirname(os.path.abspath(__file__)),"OpenBLAS_install/lib/libopenblas.so.0")
c.CDLL(_OpenBLASLibPath)
except OSError:
_print_error("Warning: Failed to load OpenBLAS in its default place. Excepting the library to be available from the system.")
_print_error("Warning: Failed to load OpenBLAS in its default place. "
"Excepting the library to be available from the system.")
_SpintrumLibPath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/libspintrum.so")
if not os.path.exists(_SpintrumLibPath):
msg = "WARNING: Could not load the spintrum shared library in path " \