Skip to content

fix HOST name in lalinf postproc

Sebastian Khan requested to merge sebastian-khan/lalsuite:fix-host into master

I think the hostname for LLO and LHO changed at some point such that the logic in lalinference/python/lalinference/lalinference_pipe_utils.py is wrong.

Currently the HOSTNAMES are the following. You can see the LLO and LHO have 'caltech' in their names so the from if condition is triggered. I simply have moved the 'cit' if condition check to after LLO and LHO and it works.

LLO

>>> import socket
>>> socket.getfqdn()
'ldas-grid.ligo-la.caltech.edu'

LHO

>>> import socket
>>> socket.getfqdn()
'ldas-grid.ligo-wa.caltech.edu'

CIT

>>> import socket
>>> socket.getfqdn()
'ldas-grid.ligo.caltech.edu'

Merge request reports