diff --git a/gracedb/feeds.py b/gracedb/feeds.py index 111b4a8641fff89f04b08dc701781cd4a85e77c4..fc90ad580ccf2ec136ef3231f1dec0f101ed1916 100644 --- a/gracedb/feeds.py +++ b/gracedb/feeds.py @@ -41,7 +41,7 @@ class EventFeed(Feed): title = "GraceDB %s Events" % group.name else: pipeline = Pipeline.objects.filter(name__iexact=bits[1]) - if not pipeline.count(0): + if not pipeline.count(): raise FeedDoesNotExist pipeline = pipeline[0] objs = Event.objects.filter(pipeline=pipeline) diff --git a/templates/feeds/index.html b/templates/feeds/index.html index 4137a15b46b7d520595b35785d802f8bdf6171e9..cddf1a9c861a7bea4c0f6eddaa8f5b76306d94ed 100644 --- a/templates/feeds/index.html +++ b/templates/feeds/index.html @@ -21,17 +21,17 @@ <ul> <li><a href="latest/cbc/">CBC</a></li> <ul> - <li><a href="latest/cbc/lowmass">Low Mass</a></li> - <li><a href="latest/cbc/highmass">High Mass</a></li> - <li><a href="latest/cbc/grb">GRB</a></li> + <li><a href="latest/cbc/gstlal">gstlal</a></li> + <li><a href="latest/cbc/gstlal-spiir">gstlal-spiir</a></li> +<!-- <li><a href="latest/cbc/grb">GRB</a></li> --> <li><a href="latest/cbc/ringdown">Ringdown</a></li> <li><a href="latest/cbc/mbtaonline">MBTA Online</a></li> </ul> </ul> - <ul> +<!-- <ul> <li><a href="latest/stochastic/">Stochastic</a></li> - </ul> + </ul> --> </p> {% endblock %} diff --git a/templates/feeds/latest_title.html b/templates/feeds/latest_title.html index d0b8c11b23bce87dc4fcff131e4bcfc904817976..9bbdabe1e575b58de341ea2710241dafd80267a8 100644 --- a/templates/feeds/latest_title.html +++ b/templates/feeds/latest_title.html @@ -1 +1 @@ -{{ obj.graceid }} {{ obj.group.name }} / {{ obj.get_analysisType_display }} +{{ obj.graceid }} {{ obj.group.name }} / {{ obj.pipeline.name }}