Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
lalsuite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
109
Issues
109
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
29
Merge Requests
29
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
lalsuite
Commits
fc06f1b6
Commit
fc06f1b6
authored
Feb 17, 2019
by
Kipp Cannon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'inspinjfindfix' into 'master'
inspinjfind: fix for python-ligo-lw See merge request
!663
parents
8195b3aa
700fd3e1
Pipeline
#49163
passed with stages
in 152 minutes and 28 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
lalinspiral/python/lalinspiral/inspinjfind.py
lalinspiral/python/lalinspiral/inspinjfind.py
+20
-20
No files found.
lalinspiral/python/lalinspiral/inspinjfind.py
View file @
fc06f1b6
...
...
@@ -305,18 +305,18 @@ def add_sim_inspiral_coinc(contents, sim, inspirals):
coinc
.
insts
=
(
event
.
ifo
for
event
in
inspirals
)
coinc
.
nevents
=
len
(
inspirals
)
co
incmap
=
lsctables
.
CoincMap
()
coincmap
.
coinc_event_id
=
coinc
.
coinc_event_id
coincmap
.
table_name
=
sim
.
simulation_id
.
table_name
coincmap
.
event_id
=
sim
.
simulation_id
contents
.
coincmaptable
.
append
(
coincmap
)
co
ntents
.
coincmaptable
.
append
(
lsctables
.
CoincMap
(
coinc_event_id
=
coinc
.
coinc_event_id
,
table_name
=
u
"sim_inspiral"
,
event_id
=
sim
.
simulation_id
)
)
for
event
in
inspirals
:
co
incmap
=
lsctables
.
CoincMap
()
coincmap
.
coinc_event_id
=
coinc
.
coinc_event_id
coincmap
.
table_name
=
event
.
event_id
.
table_name
coincmap
.
event_id
=
event
.
event_id
contents
.
coincmaptable
.
append
(
coincmap
)
co
ntents
.
coincmaptable
.
append
(
lsctables
.
CoincMap
(
coinc_event_id
=
coinc
.
coinc_event_id
,
table_name
=
u
"sngl_inspiral"
,
event_id
=
event
.
event_id
)
)
#
...
...
@@ -367,18 +367,18 @@ def add_sim_coinc_coinc(contents, sim, coinc_event_ids, coinc_def_id):
coinc
=
contents
.
new_coinc
(
coinc_def_id
)
coinc
.
nevents
=
len
(
coinc_event_ids
)
co
incmap
=
lsctables
.
CoincMap
()
coincmap
.
coinc_event_id
=
coinc
.
coinc_event_id
coincmap
.
table_name
=
sim
.
simulation_id
.
table_name
coincmap
.
event_id
=
sim
.
simulation_id
contents
.
coincmaptable
.
append
(
coincmap
)
co
ntents
.
coincmaptable
.
append
(
lsctables
.
CoincMap
(
coinc_event_id
=
coinc
.
coinc_event_id
,
table_name
=
u
"sim_inspiral"
,
event_id
=
sim
.
simulation_id
)
)
for
coinc_event_id
in
coinc_event_ids
:
co
incmap
=
lsctables
.
CoincMap
()
coincmap
.
coinc_event_id
=
coinc
.
coinc_event_id
coincmap
.
table_name
=
coinc_event_id
.
table_name
coincmap
.
event_id
=
coinc_event_id
contents
.
coincmaptable
.
append
(
coincmap
)
co
ntents
.
coincmaptable
.
append
(
lsctables
.
CoincMap
(
coinc_event_id
=
coinc
.
coinc_event_id
,
table_name
=
u
"coinc_event"
,
event_id
=
coinc_event_id
)
)
#
...
...
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