lalinference_pipe fails to read Virgo's state vector with the updated gwpy
lalinference_pipe fails to read Virgo's state vector with the following error.
Traceback (most recent call last):
File "/home/emfollow-playground/.local/bin/lalinference_pipe", line 456, in <module>
dag=pipe_utils.LALInferencePipelineDAG(this_cp,dax=False)
File "/home/emfollow-playground/.local/lib/python3.6/site-packages/lalinference/lalinference_pipe_utils.py", line 827, in __init__
self.add_science_segments()
File "/home/emfollow-playground/.local/lib/python3.6/site-packages/lalinference/lalinference_pipe_utils.py", line 1428, in add_science_segments
ast.literal_eval(self.config.get('statevector', 'bits')), start, end
File "/home/emfollow-playground/.local/lib/python3.6/site-packages/lalinference/lalinference_pipe_utils.py", line 65, in findSegmentsToAnalyze
pad=0 # padding data so that errors are not raised even if found data are not continuous.
File "/home/emfollow-playground/.local/lib/python3.6/site-packages/gwpy/timeseries/statevector.py", line 728, in to_dqflags
bitseries = self.get_bit_series(bits=bits)
File "/home/emfollow-playground/.local/lib/python3.6/site-packages/gwpy/timeseries/statevector.py", line 598, in get_bit_series
bits = [b for b in self.bits if b not in {None, ''}]
TypeError: 'NoneType' object is not iterable
This does not happen with gwpy<=0.15.0
.