Skip to content

Commit

Permalink
roslin_submit.py will no longer log to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
ckandoth committed Aug 13, 2018
1 parent cf6636e commit 36a23e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/roslin_submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@
def bsub(bsubline):
"execute lsf bsub"

print(bsubline, file=sys.stderr)
process = subprocess.Popen(bsubline, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
output = process.stdout.readline()
print(output, file=sys.stderr)

# Expected output looks like: Job <26552430> is submitted to queue <controlR>.
if re.match(r'Job <\d+> is submitted', output) is not None:
Expand Down

0 comments on commit 36a23e0

Please sign in to comment.