Skip to content
Snippets Groups Projects
Commit 0edcbc1b authored by Kipp Cannon's avatar Kipp Cannon
Browse files

fix typo in gstlal_inspiral_injection_snr

parent d6680270
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ else: ...@@ -149,7 +149,7 @@ else:
# Load all PSDs so that they don't need to be loaded for every injection. # Load all PSDs so that they don't need to be loaded for every injection.
allPSDs = dict( allPSDs = dict(
(seg, read_psd_xmldoc(ligolw_utils.load_url(cacheentry.url, verbose = True, contenthandler = PSDContentHandler))) (seg, read_psd_xmldoc(ligolw_utils.load_url(cacheentry.url, verbose = True, contenthandler = PSDContentHandler)))
for cacheentry in map(CacheEntry, open(options.reference_psd_cache)) if inj_segment is not None and cacheentry.seg.intersects(inj_segment) for cacheentry in map(CacheEntry, open(options.reference_psd_cache)) if inj_segment is not None and cacheentry.segment.intersects(inj_segment)
) )
pool = multiprocessing.Pool(options.npool) pool = multiprocessing.Pool(options.npool)
......
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