Skip to content
Snippets Groups Projects
Commit 4e81928d authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal_inspiral_lvalert_omegascan: fix various typos

parent 395a0590
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,10 @@ from pylal.datatypes import LIGOTimeGPS
import sys
import tempfile
import urllib
import logging
import time
from optparse import OptionParser
import lal
from glue.ligolw import ligolw
from glue.ligolw import table
from glue.ligolw import lsctables
......@@ -88,6 +91,10 @@ coinc_xmldoc = lvalert_helper.get_coinc_xmldoc(gracedb_client, graceid)
coinc_inspiral, = lsctables.CoincInspiralTable.get_table(coinc_xmldoc)
gps = coinc_inspiral.get_end()
# Wait a little while in the hopes that NDS2 has caught up
if abs(now() - gps) < 180:
time.sleep(180)
if not options.albert_einstein:
options.albert_einstein = os.environ["KERBEROS_USER"]
......
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