Skip to content
Snippets Groups Projects
Commit b90b4466 authored by Jonah Kanner's avatar Jonah Kanner :nerd: Committed by GraceDB
Browse files

sort pastro values, biggest first

parent 252b0b6f
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment