aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-24 11:45:36 +0300
committerBonfaceKilz2022-05-27 15:17:52 +0300
commit26f32b288af841ec1cb41feb15aa946a24448f93 (patch)
tree55979387cb729d4bb68e4be1b6bfce8691dcf891 /wqflask
parent4be62199da135cc74138db9dcc3191f67892e80c (diff)
downloadgenenetwork2-26f32b288af841ec1cb41feb15aa946a24448f93.tar.gz
Append to "modifications" if "description"/"name" exist
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/metadata_edits.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 785f76e5..d7aeb310 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -736,6 +736,7 @@ def show_case_attribute_columns():
[m_.get("name")["Original"]],
[m_.get("name")["Current"]]
))
+ if any([m_.get("description"), m_.get("name")]):
modifications.append(m_)
if (d_ := diff.get("Deletion")):
d_["author"] = author