More python3 compatibility fixes
A few (and hopefully final) changes for python 3 and/or compatibility with newer libraries.
- cast
s['data'].values()
to a list before callinglen()
- cast result from
zip()
to a list before making a numpy array out of it - h5py attributes aren't keen to passing in python strings anymore, they look like need to be wrapped in
numpy.string_
or an S dtype. -
config.get('general', 'instrument', '')
was causing issues, so I changed it to check explicitly withconfig.has_option()
- change
glue.ligolw
toligo.lw
since glue's version has basically dropped support