Skip to content

Partial #2237 #2368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 23, 2017
Prev Previous commit
Next Next commit
EBISubmissionError -> ComputeError
  • Loading branch information
antgonza committed Oct 12, 2017
commit d721f85caf690bbe7f309c9e45aa6a748c4fa5a5
4 changes: 2 additions & 2 deletions qiita_ware/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def submit_EBI(preprocessed_data_id, action, send):
if rv != 0:
error_msg = ("Error:\nStd output:%s\nStd error:%s" % (
stdout, stderr))
raise EBISubmissionError(error_msg)
raise ComputeError(error_msg)
open(ebi_submission.ascp_reply, 'a').write(
'stdout:\n%s\n\nstderr: %s' % (stdout, stderr))
environ['ASPERA_SCP_PASS'] = old_ascp_pass
Expand All @@ -84,7 +84,7 @@ def submit_EBI(preprocessed_data_id, action, send):
if rv != 0:
error_msg = ("Error:\nStd output:%s\nStd error:%s" % (
xml_content, stderr))
raise EBISubmissionError(error_msg)
raise ComputeError(error_msg)
else:
LogEntry.create('Runtime',
('Submission of sequences of pre_processed_id: '
Expand Down