Skip to content

Commit

Permalink
rearranged order of submission programs so sbatch is favored, also bu…
Browse files Browse the repository at this point in the history
…mped version
  • Loading branch information
benlindsay committed Jul 9, 2018
1 parent fbe3430 commit ab02dae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion create_jobs/create_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit ab02dae

Please sign in to comment.