From ab02daec3370ef395fb0ee90e7e2a6f862202650 Mon Sep 17 00:00:00 2001 From: Ben Lindsay Date: Mon, 9 Jul 2018 14:52:25 -0400 Subject: [PATCH] rearranged order of submission programs so sbatch is favored, also bumped version --- create_jobs/create_jobs.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/create_jobs/create_jobs.py b/create_jobs/create_jobs.py index 6acedbf..de88ad6 100755 --- a/create_jobs/create_jobs.py +++ b/create_jobs/create_jobs.py @@ -76,7 +76,7 @@ def _find_sub_prog(): Returns the first job submission command found on the system. Currently, only qsub and sbatch are supported """ - possible_sub_prog_list = ['qsub', 'sbatch'] + possible_sub_prog_list = ['sbatch', 'qsub'] for prog in possible_sub_prog_list: if popen('command -v ' + prog).read() != '': return prog diff --git a/setup.py b/setup.py index 7f9bb77..c29f353 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name = 'create_jobs', packages = ['create_jobs'], - version = '0.1.4', + version = '0.1.5', description = desc, long_description = long_desc, requires = ['numpy', 'pandas'],