Skip to content

Commit

Permalink
silly bug in scripts where >1 was used instead of >0
Browse files Browse the repository at this point in the history
  • Loading branch information
jimboid committed Sep 20, 2016
1 parent 2a40507 commit dfc417c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Longbow/plugins/schedulers/lsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def prepare(job):

scripts = job["scripts"].split(',')

if len(scripts) > 1:
if len(scripts) > 0:

for item in scripts:

Expand Down
2 changes: 1 addition & 1 deletion Longbow/plugins/schedulers/pbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def prepare(job):

scripts = job["scripts"].split(',')

if len(scripts) > 1:
if len(scripts) > 0:

for item in scripts:

Expand Down
2 changes: 1 addition & 1 deletion Longbow/plugins/schedulers/sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def prepare(job):

scripts = job["scripts"].split(',')

if len(scripts) > 1:
if len(scripts) > 0:

for item in scripts:

Expand Down
2 changes: 1 addition & 1 deletion Longbow/plugins/schedulers/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def prepare(job):

scripts = job["scripts"].split(',')

if len(scripts) > 1:
if len(scripts) > 0:

for item in scripts:

Expand Down
2 changes: 1 addition & 1 deletion Longbow/plugins/schedulers/soge.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def prepare(job):

scripts = job["scripts"].split(',')

if len(scripts) > 1:
if len(scripts) > 0:

for item in scripts:

Expand Down

0 comments on commit dfc417c

Please sign in to comment.