aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d283e47..1e8c9ef 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -236,7 +236,7 @@ def view_phenotype(# pylint: disable=[unused-argument]
dataset=dataset,
xref_id=xref_id,
phenotype=phenotype,
- has_se=all(bool(item.get("error")) for item in phenotype["data"]),
+ has_se=any(bool(item.get("error")) for item in phenotype["data"]),
publish_data={
key.replace("_", " "): val
for key,val in