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: Attempt at adapting job pool for drmaa.
nanshe/nanshe_learner.py: Now, makes sure that the JobTemplate instances constructed are deleted so as to avoid memory leaks.
nanshe/nanshe_learner.py: Copy environment variables to new jobs.
nanshe/nanshe_learner.py: Redirect input and output to os.devnull on the current machine.
nanshe/nanshe_learner.py: Changed name of each_ready_process to each_process_template. Added storage of job template in running_processes.
nanshe/nanshe_learner.py: Route stderr for each drmaa job to os.devnull on the same machine.
nanshe/nanshe_learner.py: Added ability to specify the number of cores for each drmaa job submitted.
nanshe/nanshe_learner.py: Added support using drmaa for redirecting the stdout and stderr of each block subprocess.
nanshe/nanshe_learner.py: Adds a jobname for each DRMAA job based on the name of its output.
nanshe/nanshe_learner.py: Set cwd.
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.