nanshe/nanshe_learner.py: Only tries to import the drmaa python module if it is intended to be use. If drmaa is installed or if libdrmaa.so cannot be found (requires the environmental variable DRMAA_LIBRARY_PATH be set to libdrmaa.so), the error is logged and the appropriate exception (ImportError or RuntimeError) is raised.
nanshe/nanshe_learner.py: Makes JobTemplate instances for deployment using DRMAA.
nanshe/nanshe_learner.py: An adaption of the subprocess-based job pool for DRMAA.
tests/test_nanshe_learner.py: Provided support for drmaa tests in TestNansheLearner.setup.
tests/test_nanshe_learner.py: Added a test for generate_neurons_blocks that uses DRMAA.
tests/test_nanshe_learner.py: Added a test for generate_neurons_io_handler that uses DRMAA.
tests/test_nanshe_learner.py: Added a test for main that uses DRMAA.
tests/test_nanshe_learner.py: Temp debugging.
tests/test_nanshe_learner.py: Reduces number of DRMAA cores.
tests/test_nanshe_learner.py: Move all test files to the home directory to ensure they will be shared amongst qsubed jobs.
tests/test_nanshe_learner.py: Turn off teardown.
tests/test_nanshe_learner.py: Revert tempfile.tempdir to the default value.