Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
fa1e2689
Commit
fa1e2689
authored
6 years ago
by
chad.hanna
Browse files
Options
Downloads
Patches
Plain Diff
inspiral.py: allow a shortcut if gracedb far threshold less than or equal to zero
parent
85eacfeb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/python/inspiral.py
+5
-1
5 additions, 1 deletion
gstlal-inspiral/python/inspiral.py
with
5 additions
and
1 deletion
gstlal-inspiral/python/inspiral.py
+
5
−
1
View file @
fa1e2689
...
...
@@ -500,7 +500,11 @@ class GracedBWrapper(object):
gracedb_ids
=
[]
# no-op short circuit
if
self
.
far_threshold
is
None
or
not
last_coincs
:
# NOTE the value is tested for less than or equeal to zero so
# that people can disable it through the web interface by
# setting e.g., -1. None is also less than zero so this works
# out.
if
self
.
far_threshold
<=
0
or
not
last_coincs
:
return
gracedb_ids
coinc_inspiral_index
=
last_coincs
.
coinc_inspiral_index
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment