about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-06-10 17:02:09 -0500
committerFrederick Muriuki Muriithi2025-06-10 17:19:45 -0500
commitfe93c11ec9dfca712b09bcd677e5a3b6f753d2d1 (patch)
tree02848179de676ea4bff94b926b73452f168ad54e /uploader/templates
parent0cb2833d7210bd6e4ce492a3525ee74dc2057aac (diff)
downloadgn-uploader-fe93c11ec9dfca712b09bcd677e5a3b6f753d2d1.tar.gz
Bug: The Phenotype datasets need the InbredSet.Name as a prefix
The Phenotype datasets need the InbredSet.Name, (not the
InbredSet.InbredSetCode) as a prefix for the data to be found and
listed in the GeneNetwork menu.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/phenotypes/create-dataset.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/uploader/templates/phenotypes/create-dataset.html b/uploader/templates/phenotypes/create-dataset.html
index 8e45491..19a2b34 100644
--- a/uploader/templates/phenotypes/create-dataset.html
+++ b/uploader/templates/phenotypes/create-dataset.html
@@ -42,7 +42,7 @@
       <input type="text"
              name="dataset-name"
              id="txt-dataset-name"
-             value="{{original_formdata.get('dataset-name') or (population.InbredSetCode + 'Publish')}}"
+             value="{{original_formdata.get('dataset-name') or (population.Name + 'Publish')}}"
              {%if errors["dataset-name"] is defined%}
              class="form-control danger"
              {%else%}
@@ -51,7 +51,7 @@
              required="required" />
       <small class="form-text text-muted">
         <p>A short representative name for the dataset.</p>
-        <p>Recommended: Use the population code and append "Publish" at the end.
+        <p>Recommended: Use the population name and append "Publish" at the end.
           <br />This field will only accept names composed of
           letters ('A-Za-z'), numbers (0-9), hyphens and underscores.</p>
       </small>
@@ -86,7 +86,7 @@
              name="dataset-shortname"
              type="text"
              class="form-control"
-             value="{{original_formdata.get('dataset-shortname') or (population.InbredSetCode + ' Publish')}}" />
+             value="{{original_formdata.get('dataset-shortname') or (population.Name + 'Publish')}}" />
       <small class="form-text text-muted">
         <p>An optional, short name for the dataset. <br />
           If this is not provided, it will default to the value provided for the