Skip to content

Renamed and moved a couple of I/O utility functions

Duncan Macleod requested to merge github/fork/duncanmmacleod/io-utils-move into develop

This PR renames/relocates the following methods and variables:

  • gwpy.io.cache.FILE_LIKE -> gwpy.io.utils.FILE_LIKE
  • gwpy.io.cache.file_name -> gwpy.io.utils.file_path
  • gwpy.io.cache.file_list -> gwpy.io.utils.file_list

and updates their usage and tests throughout the package. This is backwards compatible (the new names are imported to their old locations, with appropriate DeprecationWarnings).

Merge request reports