act.utils.unpack_gzip#

act.utils.unpack_gzip(filename, write_directory=None, remove=False)[source]#

Extracts file from a gunzip file.

Parameters:
  • filename (str, pathlib.Path) – Filename to use in extraction of gunzip file.

  • write_directory (str, pahtlib.Path, list, None) – Path to directory to place newly created gunzip file.

  • remove (boolean) – Remove provided filename after creating gunzip file

Returns:

write_filename (str) – Full path name of created gunzip file