Loading rtadeep/utils/wrap.py 0 → 100644 +14 −0 Original line number Diff line number Diff line # ***************************************************************************** # Copyright (C) 2023 INAF # This software is distributed under the terms of the BSD-3-Clause license # # Authors: # Ambra Di Piano <ambra.dipiano@inaf.it> # ***************************************************************************** import yaml def load_yaml_conf(yamlfile): with open(yamlfile) as f: configuration = yaml.load(f, Loader=yaml.FullLoader) return configuration No newline at end of file Loading
rtadeep/utils/wrap.py 0 → 100644 +14 −0 Original line number Diff line number Diff line # ***************************************************************************** # Copyright (C) 2023 INAF # This software is distributed under the terms of the BSD-3-Clause license # # Authors: # Ambra Di Piano <ambra.dipiano@inaf.it> # ***************************************************************************** import yaml def load_yaml_conf(yamlfile): with open(yamlfile) as f: configuration = yaml.load(f, Loader=yaml.FullLoader) return configuration No newline at end of file