Fix the + operator that doesn't work with python dict_keys objects
For a while now, the clf-check
script has not worked because of this error:
File "/home/detchar/etc/ligo-channel-lists/tools/clf-check", line 221, in <module>
for key in set(missing.keys()+bad_rates.keys()):
TypeError: unsupported operand type(s) for +: 'dict_keys' and 'dict_keys'
The +
operator does not work with dict_keys
objects, but instead it should be a |
operator. This works for python3, anyway.