Skip to content

Commit

Permalink
Check run return code from local IEDB install before proceeding
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert committed Dec 1, 2016
1 parent 880ab05 commit 5e1d7a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pvacseq/lib/call_iedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def main(args_input = sys.argv[1:]):

if args.iedb_executable_path is not None:
response = run(prediction_class_object.iedb_executable_params(args), stdout=PIPE)
if response.returncode == 2:
sys.exit("Call to local IEDB install failed:\n%s\nAborting." % ' '.join(prediction_class_object.iedb_executable_params(args)))
response_text = response.stdout
output_mode = 'wb'
else:
Expand Down

0 comments on commit 5e1d7a3

Please sign in to comment.