Skip to content
Snippets Groups Projects
Commit ea94726b authored by Alexander Pace's avatar Alexander Pace
Browse files

gracedb-2.27.1

parent 7f9f3a7e
Branches
Tags gracedb-2.27.1
1 merge request!207gracedb-2.27.1
Pipeline #616344 passed
......@@ -14,6 +14,7 @@ RUN apt-get update && \
apt-get --assume-yes upgrade && \
apt-get install --install-recommends --assume-yes \
apache2 \
emacs-nox \
gcc \
git \
krb5-user \
......@@ -49,7 +50,8 @@ RUN apt-get update && \
libssl-dev \
swig \
htop \
telnet && \
telnet \
vim && \
apt-get clean && \
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
apt-get update && apt-get install --assume-yes yarn && \
......
......@@ -48,7 +48,7 @@ INFO_BANNER_MESSAGE = "TEST MESSAGE"
BETA_REPORTS_LINK = False
# Version ---------------------------------------------------------------------
PROJECT_VERSION = '2.27.0'
PROJECT_VERSION = '2.27.1'
# Unauthenticated access ------------------------------------------------------
# This variable should eventually control whether unauthenticated access is
......
......@@ -41,7 +41,7 @@ Creating new events in a *non-test* group (e.g., CBC or Burst) requires
a special ``populate`` permission on the relevant pipeline object. These
permissions are set at the user (rather than group) level and are
maintained by hand. Send email to the GraceDB maintainer
or the `IGWN Computing Helpdesk <mailto:computing-help@igwn.org>`__
or the `IGWN Computing Helpdesk <mailto:computing-help@ligo.org>`__
if you need a new pipeline or pipeline permission.
Robot certificates
......
......@@ -58,4 +58,4 @@ This documentation is not as great as it could be, but we are working on it.
LIGO/Virgo/KAGRA users can join the `GraceDB channel <https://chat.ligo.org/ligo/channels/gracedb>`__ in the collaboration's Mattermost instance or email the Compsoft mailing list for help.
To report a problem, either `post an issue <https://git.ligo.org/lscsoft/gracedb/issues>`__ or email the
`IGWN Computing Helpdesk <mailto:computing-help@igwn.org>`__.
`IGWN Computing Helpdesk <mailto:computing-help@ligo.org>`__.
......@@ -31,7 +31,7 @@ Here is a table showing the currently available labels and their meanings.
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| DQV | Data quality veto. |
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| EARLY_WARNING | Event uploaded with early warning pipeline |
| EARLY_WARNING | Event is from an early-warning low-latency pipeline. |
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| EMBRIGHT_READY | EM Bright information is available. |
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
......@@ -107,6 +107,8 @@ Here is a table showing the currently available labels and their meanings.
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| SNR_OPTIMIZED | Indicates that the event was SNR-optimized as followup to another uploaded event. |
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| SSM | Event is from a subsolar mass low-latency pipeline. |
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| SWIFT_GO | Send notification to SWIFT telescope. |
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| SWIFT_NO | Do not send notification to SWIFT telescope. |
......
......@@ -286,12 +286,25 @@ def construct_voevent_file(obj, voevent, request=None):
v.What.append(p_significant)
## Analysis group
## Special case: BURST-CWB-BBH search is a CBC group alert.
if (event.group.name == "Burst" and
(event.search and (event.pipeline.name == 'CWB' and
event.search.name == 'BBH'))
):
p_group = vp.Param(
"Group",
value="CBC",
ucd="meta.code",
dataType="string"
)
else:
p_group = vp.Param(
"Group",
value=event.group.name,
ucd="meta.code",
dataType="string"
)
p_group.Description = "Data analysis working group"
v.What.append(p_group)
......
# -*- coding: utf-8 -*-
from django.db import models, migrations
# Add a migration to create the EARLY_WARNING label. For some reason, the original
# migration from 2019 that created it is lost in the ether. Fixes:
# https://git.ligo.org/computing/gracedb/server/-/issues/311
# Label names, default colors, and descriptions
LABELS = [
{'name': 'SSM', 'defaultColor': 'blue', 'description': 'Event is from a subsolar mass low-latency pipeline.'},
]
def add_labels(apps, schema_editor):
Label = apps.get_model('events', 'Label')
# Create labels
for label_dict in LABELS:
l, created = Label.objects.get_or_create(name=label_dict['name'])
if not created:
l.defaultColor = label_dict['defaultColor']
l.description = label_dict['description']
l.save()
else:
print("label exists in database, moving on")
def remove_labels(apps, schema_editor):
Label = apps.get_model('events', 'Label')
# Delete labels
Label.objects.filter(name__in=[l['name'] for l in LABELS]).delete()
class Migration(migrations.Migration):
dependencies = [
('events', '0092_neutrinoevent')
]
operations = [
migrations.RunPython(add_labels, remove_labels)
]
......@@ -28,9 +28,9 @@
<h5>Useful information</h5>
<hr>
<li >Information about GW alerts and real-time data products is available in the <a href="https://emfollow.docs.ligo.org/userguide/">LIGO/Virgo Public Alert Guide</a>.</li>
<li ><a href="https://monitor.ligo.org/ldg">Real-time status of the LIGO Data Grid</a>.</li>
<li ><a href="https://dashboard.igwn.org/">Real-time status of the LIGO Data Grid</a> (LVK Credentials Required).</li>
<li >Need help? Send an email to <a
href="mailto:computing-help@igwn.org">computing-help@igwn.org</a>,
href="mailto:computing-help@ligo.org">computing-help@ligo.org</a>,
or LIGO/Virgo users can report issues on the GraceDB <a
href="https://git.ligo.org/computing/gracedb/server/issues">Gitlab page</a>.</li>
</ul>
......
......@@ -24,7 +24,13 @@
{% for e in pipeline_preferred_events %}
<tr>
<td> {{ e.graceid }} </td>
<td> {{ e.group.name }} </td>
<td>
{% if e.search.name == "BBH" %}
CBC
{% else %}
{{ e.group.name }}
{% endif %}
</td>
<td> {{ e.pipeline.name }} </td>
<td> {{ e.search.name }} </td>
<td> {{ e.gpstime | floatformat:"3" }} </td>
......@@ -34,7 +40,6 @@
{% else %}
&nbsp; &nbsp; &nbsp; &nbsp;
{% endif %}
</tr>
{% endfor %}
</tbody>
......
......@@ -11,7 +11,13 @@
<tbody>
<tr>
<td> Group </td>
<td>{{ preferred_event.group.name }} </td>
<td>
{% if preferred_event.search.name == "BBH" %}
CBC
{% else %}
{{ preferred_event.group.name }}
{% endif %}
</td>
</tr>
<tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment