-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More Python 3 fixes for PyCBC Live #2798
Conversation
@spxiwh your comments are also appreciated (I know you diskile Python 3's strings ;) |
I'm happy with the python3 - related changes. but I don't think I understand the wisdom code, so I'd like to wait for Alex to give final approval here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fftw api is left intact, so I don't think this interferes with anything else and it reduces the code duplication a bit.
* Fix Py3 error with FFTW wisdom I/O * Fix int division on Py3 * Fix FFTW-related error with Py3 * Fix more int division issues with Py3 * Workaround for h5py not supporting Unicode arrays * Codeclimate and Ian's comments * Ian's comment * Codeclimate
Fixing a few more errors that happen when PyCBC Live runs under Python 3. With these changes, PyCBC Live successfully runs under Python 3 and produces HDF files as well as coinc LIGOLW files.
I have not yet done a careful checks of the correctness of the results and GraceDB uploads are not tested yet.
I am not sure about the h5py workaround I did for saving the approximant array. Comments/alternatives are welcome.