aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-01-27 11:54:01 -0600
committerFrederick Muriuki Muriithi2025-01-27 11:54:01 -0600
commit046cf17b9981fc1e75c35acf547cb143a52dc9d9 (patch)
tree7ebb64eae565a062b294c06b5aaf54356729b4ca
parentc83c2e23d9841b0f8c74cfb09b7d1b4639dad93a (diff)
downloadgn-uploader-046cf17b9981fc1e75c35acf547cb143a52dc9d9.tar.gz
Fix minor bug.
-rw-r--r--uploader/phenotypes/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index 79b1605..b53b296 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -243,7 +243,7 @@ def view_phenotype(# pylint: disable=[unused-argument]
(phenotype_publication_data(conn, phenotype["Id"]) or {}).items()
if (key in ("PubMed_ID", "Authors", "Title", "Journal")
and val is not None
- and val.strip() is not "")
+ and val.strip() != "")
},
privileges=(privileges
### For demo! Do not commit this part