Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
gracedb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
99
Issues
99
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
gracedb
Commits
b90b4466
Commit
b90b4466
authored
May 23, 2019
by
Jonah Kanner
🤓
Committed by
GraceDB
Jun 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort pastro values, biggest first
parent
252b0b6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
gracedb/superevents/views.py
gracedb/superevents/views.py
+1
-0
No files found.
gracedb/superevents/views.py
View file @
b90b4466
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment