From 3d664b9f730dea62d206e8cc967eb8914f7f2600 Mon Sep 17 00:00:00 2001 From: Alexander Pace <alexander.pace@ligo.org> Date: Tue, 27 Aug 2024 13:38:36 +0000 Subject: [PATCH] gracedb-2.28.1 --- config/settings/base.py | 2 +- gracedb/superevents/templatetags/pastro_text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 461bd99f1..cd26e3569 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -48,7 +48,7 @@ INFO_BANNER_MESSAGE = "TEST MESSAGE" BETA_REPORTS_LINK = False # Version --------------------------------------------------------------------- -PROJECT_VERSION = '2.28.0' +PROJECT_VERSION = '2.28.1' # Unauthenticated access ------------------------------------------------------ # This variable should eventually control whether unauthenticated access is diff --git a/gracedb/superevents/templatetags/pastro_text.py b/gracedb/superevents/templatetags/pastro_text.py index 54a40bcc0..df255619c 100644 --- a/gracedb/superevents/templatetags/pastro_text.py +++ b/gracedb/superevents/templatetags/pastro_text.py @@ -75,4 +75,4 @@ def json_text(graceid, data_format): prob = '' return mark_safe(join_char.join([html_format.format(prob=prob, source=i, - value=round(data[i], 6)) for i in data])) + value=(round(data[i], 6) if isinstance(data[i], float) else data[i])) for i in data])) -- GitLab