INNER CODE UNIT · Python
load_yaml
aehrc/VariantSpark · cloud/aws-emr/python/vs_emr/cli.py:152
def load_yaml(conf_file):
with open(conf_file, "r") as cf:
return yaml.load(cf)
def cmd_conf_to_config(conf):
def split_conf_string(s):
index = s.find('=')
print(index)
return (s[0:index],s[index+1:])
config = dict()
for conf_entry in conf:
key, value = split_conf_string(conf_entry)
dict_put_path(config, key, value)
return config
def merge_configs(configs):