Skip to content
Snippets Groups Projects
Commit 30e132a1 authored by Koh Ueno's avatar Koh Ueno
Browse files

delete the cvs_entry_time argument used in gstlal-ugly/bin/gstlal_injsplitter

I encountered the following error when I ran gstlal_injsplitter and (Kipp) found that cvs_entry_time, in which the time when the program was generated is supposed to be substituted, was not used correctly.

Traceback (most recent call last):
  File "/home/koh.ueno/local/bin/gstlal_injsplitter", line 83, in <module>
    cvs_entry_time=strftime('%Y/%m/%d %H:%M:%S'))
  File "/usr/lib64/python2.7/site-packages/ligo/lw/utils/process.py", line 109, in register_to_xmldoc
    process = proctable.RowType.initialized(program = program, process_id = proctable.get_next_id(), **kwargs)
  File "/usr/lib64/python2.7/site-packages/ligo/lw/lsctables.py", line 562, in initialized
    cvs_entry_time = lal.UTCToGPS(time.strptime(cvs_entry_time, "%Y-%m-%d %H:%M:%S +0000")) if cvs_entry_time is not None else None,
  File "/usr/lib64/python2.7/_strptime.py", line 467, in _strptime_time
    return _strptime(data_string, format)[0]
  File "/usr/lib64/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data '2021/04/01 07:11:30' does not match format '%Y-%m-%d %H:%M:%S +0000'
parent b2492e4c
No related branches found
No related tags found
No related merge requests found
Loading
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