nanshe/nanshe_learner.py: Cleaned up how module name is determined.
nanshe/nanshe_learner.py: Added support for redirecting the stdout and stderr of each block subprocess.
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.