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
102ba34c
Commit
102ba34c
authored
6 years ago
by
chad.hanna
Browse files
Options
Downloads
Patches
Plain Diff
inspiral.py: fix typo for gracedb uploads after handler refactoring
parent
f5b848e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/python/inspiral.py
+2
-3
2 additions, 3 deletions
gstlal-inspiral/python/inspiral.py
with
2 additions
and
3 deletions
gstlal-inspiral/python/inspiral.py
+
2
−
3
View file @
102ba34c
...
...
@@ -82,7 +82,6 @@ from ligo import gracedb
from
gstlal
import
bottle
from
gstlal
import
cbc_template_iir
from
gstlal
import
streamthinca
from
gstlal
import
svd_bank
...
...
@@ -497,11 +496,11 @@ class GracedBWrapper(object):
self
.
__upload_aux_data
(
message
,
filename
,
tag
,
fobj
.
getvalue
(),
gracedb_ids
)
del
fobj
def
__
do_alerts
(
self
,
last_coincs
,
psddict
,
rankingstat_xmldoc_func
):
def
do_alerts
(
self
,
last_coincs
,
psddict
,
rankingstat_xmldoc_func
):
gracedb_ids
=
[]
# no-op short circuit
if
self
.
far_threshold
is
None
or
not
self
.
stream_thinca
.
last_coincs
:
if
self
.
far_threshold
is
None
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