diff options
author | Frederick Muriuki Muriithi | 2025-04-14 10:20:13 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-04-14 10:20:13 -0500 |
commit | 53a9a119c2966b92d9e21b46495b321cd8e75af1 (patch) | |
tree | 7e74259c63fdb55874deec5468fb03252b97ccb5 /uploader/phenotypes/views.py | |
parent | e451654493e687dc2ec1245b6b340f170d6677d5 (diff) | |
download | gn-uploader-53a9a119c2966b92d9e21b46495b321cd8e75af1.tar.gz |
Provide species, population and dataset identifiers as job metadata.
Diffstat (limited to 'uploader/phenotypes/views.py')
-rw-r--r-- | uploader/phenotypes/views.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index 9c737fc..ec07c0c 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -983,7 +983,10 @@ def edit_upload_phenotype_data(# pylint: disable=[unused-argument] ], "phenotype-bulk-edit", extra_meta = { - "edit-file": str(edit_file) + "edit-file": str(edit_file), + "species-id": specise["SpeciesId"], + "population-id": population["Id"], + "dataset-id": dataset["Id"] }), jobs_db, f"{app.config['UPLOAD_FOLDER']}/job_errors", |