Commit 3aa5b671 authored by jencabral's avatar jencabral

replacing runuploader with original file

parent cf170323
Pipeline #5799 passed with stage
in 14 minutes and 54 seconds
......@@ -141,16 +141,15 @@ def upload_run_to_server(api, sequencing_run):
logging.info("About to start uploading samples.")
try:
api.send_sequence_files(samples_list = sequencing_run.samples_to_upload,
upload_id = run_id)
upload_id = run_id)
send_message("finished_uploading_samples", sheet_dir = sequencing_run.sample_sheet_dir)
send_message(sequencing_run.upload_completed_topic)
send_message(RunUploaderTopics.finished_uploading_samples)
api.set_seq_run_complete(run_id)
_create_miseq_uploader_info_file(sequencing_run.sample_sheet_dir, run_id, "Complete")
except Exception as e:
logging.exception("Encountered error while uploading files to server, updating status of run to error state.")
api.set_seq_run_error(run_id)
raise
api.set_seq_run_error(run_id)
raise
def _online_validation(api, sequencing_run):
"""Do online validation for the specified sequencing run.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment