ska_sdp_e2e_batch_continuum_imaging.pipelines.common module
- ska_sdp_e2e_batch_continuum_imaging.pipelines.common.read_file(filepath)[source]
Reads the contents of a file and returns it as a string.
- ska_sdp_e2e_batch_continuum_imaging.pipelines.common.write_file(content, filepath)[source]
Writes the given content to a file at the specified filepath.
- ska_sdp_e2e_batch_continuum_imaging.pipelines.common.write_ini_config(config, filepath)[source]
Writes the given config to a ini file at the specified filepath.
- Parameters:
config (Configparser) -- An Configparser object with config.
filepath (str or Path) -- The path to the file where the content will be written.