aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-04-21 13:50:13 -0500
committerFrederick Muriuki Muriithi2025-04-21 13:50:13 -0500
commit64d46c5bc168e37a06ca60685fbc7aae54d48ba1 (patch)
treed2a0edb3185254e1bf5a5d069583cf76df918036 /uploader
parent3c948fe68dc4f40f158da92a150a300bd9ca2efb (diff)
downloadgn-uploader-64d46c5bc168e37a06ca60685fbc7aae54d48ba1.tar.gz
Proceed to jobs status update page.
Diffstat (limited to 'uploader')
-rw-r--r--uploader/phenotypes/views.py38
1 files changed, 3 insertions, 35 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index a18c44d..92a7c4b 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -1000,38 +1000,6 @@ def edit_upload_phenotype_data(# pylint: disable=[unused-argument]
worker_manager="gn_libs.jobs.launcher")
- return """
- <p>The following steps need to be performed:
- <ol>
- <li>Check that all IDs exist</li>
- <li>Check for mandatory values</li>
- <li>Update descriptions in the database (where changed)</li>
- <li>Update publications in the database (where changed):
- <ol>
- <li>If <strong>PubMed_ID</strong> exists in our database, simply update the
- 'PublicationId' value in the 'PublishXRef' table.</li>
- <li>If <strong>PubMed_ID</strong> does not exists in our database:
- <ol>
- <li>fetch the publication's details from PubMed using the new
- <strong>PubMed_ID</strong> value.</li>
- <li>create a new publication in our database using the fetched data</li>
- <li>Update 'PublicationId' value in 'PublishXRef' with ID of newly created
- publication</li>
- </ol>
- </ol>
- </li>
- <li>Update values in the database (where changed)</li>
- </ol>
- </p>
-
- <p><strong>Note:</strong>
- <ul>
- <li>If a strain that did not have a value is given a value, then we need to
- add a new cross-reference for the new DataId created.</li>
- <li>If a strain that had a value has its value deleted and left blank, we
- need to remove the cross-reference for the existing DataId — or, should we
- enter the NULL value instead? Removing the cross-reference might be more
- trouble than it is worth.</li>
- </ul>
- </p>
- """
+ return redirect(url_for("background-jobs.job_status",
+ job_id=job_id,
+ job_type="phenotype-bulk-edit"))