Skip to content

Added unified nproc option to gwpy.io.reader

This PR cleans up the application of the nproc keyword argument to Class.read methods. The unified gwpy.io.reader factor method now takes a mp_flattener keyword argument that defines how to flatten a list of objects into a single object, as would be needed to coalesce the results of a multi-processed read operation.

This PR applies it first to the EventTable.read method, cleaning up the nproc references in gwpy.table.io.

Merge request reports