Skip to content
Snippets Groups Projects
Commit f7ee27aa authored by Duncan Macleod's avatar Duncan Macleod
Browse files

gstlal_get_online_coinc_times: use lal.GPSTimeNow

instead of calling out to lalapps_tconvert
parent 6597d318
No related branches found
No related tags found
1 merge request!9Use lal.GPSTimeNow to get current time instead of lalapps_tconvert
......@@ -31,13 +31,13 @@ from ligo.lw import lsctables
from ligo.lw import utils as ligolw_utils
from ligo.lw.utils import segments as ligolw_segments
from ligo.lw.utils import process as ligolw_process
from lal import LIGOTimeGPS
from lal import (GPSTimeNow, LIGOTimeGPS)
import sys
present = int(subprocess.Popen('lalapps_tconvert', stdout = subprocess.PIPE).communicate()[0])
present = int(GPSTimeNow())
def parse_command_line():
......
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