Commit b90b4466 authored by Jonah Kanner's avatar Jonah Kanner 🤓 Committed by GraceDB

sort pastro values, biggest first

parent 252b0b6f
......@@ -163,6 +163,7 @@ class SupereventPublic(ListView):
("BBH", voe.prob_bbh), ("Terrestrial", voe.prob_terrestrial),
("MassGap", voe.prob_mass_gap) ]
pastro_values.sort(reverse=True, key=lambda (a,b):b)
sourcelist = []
for key, value in pastro_values:
if value > 0.01:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment