read_yaml_file#

lsst.ts.m2com.read_yaml_file(filepath: str | Path) dict#

Read the yaml file.

Parameters#

filepathstr or pathlib.PosixPath

Yaml file path.

Returns#

contentdict

File content.

Raises#

IOError

Cannot open the file.