diff options
author | BonfaceKilz | 2022-05-13 17:17:07 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-05-27 15:17:52 +0300 |
commit | 812865a8d98312b0c1245b9c79cde51add656954 (patch) | |
tree | 3c7d315dd95fbe69a62a519ff962d86460f6391c | |
parent | f51fd91a2d09ddf7cb8a17b92dae4dba0429f603 (diff) | |
download | genenetwork2-812865a8d98312b0c1245b9c79cde51add656954.tar.gz |
Remove case-attributes list from the metadata edit page
* wqflask/wqflask/metadata_edits.py (display_phenotype_metadata): Delete
"headers" variable when passing it to the template.
*wqflask/wqflask/templates/edit_phenotype.html: Remove special not that
lists the case-attributes with their IDs in brackets.
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/edit_phenotype.html | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index cc9ee9bd..b2a23f69 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -170,7 +170,7 @@ def display_phenotype_metadata(dataset_id: str, name: str): dataset_id=dataset_id, name=name, resource_id=request.args.get("resource-id"), - headers=get_case_attributes(conn).keys(), + headers=get_case_attributes(conn), version=os.environ.get("GN_VERSION"), ) diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html index c49aeb4a..a0b7a6eb 100644 --- a/wqflask/wqflask/templates/edit_phenotype.html +++ b/wqflask/wqflask/templates/edit_phenotype.html @@ -235,7 +235,6 @@ </div> <div class="col-xs-6"> <p> - Note: Current allowable case-attributes are: {{ ', '.join(headers) }}. <a href="{{url_for('metadata_edit.show_case_attribute_columns')}}" target="_blank">You can find these case-attribute descriptions here.</a> </p> </div> |