Fixed bug in gwpy.io.cache.cache_segments
This PR fixes #117 (closed) by cleaning up the gwpy.io.cache.cache_segments
function, and adding a new unit test for that method.
This PR fixes #117 (closed) by cleaning up the gwpy.io.cache.cache_segments
function, and adding a new unit test for that method.