Esempio n. 1
0
 def _get_yaml_dict(self, yfile):
     from savu.plugins.loaders.yaml_converter import YamlConverter
     yaml = YamlConverter()
     template_check = pu.is_template_param(yfile)
     yfile = template_check[1] if template_check is not False else yfile
     yaml.parameters = {'yaml_file': yfile}
     return yaml.setup(template=True)
Esempio n. 2
0
 def _get_yaml_dict(self, yfile):
     from savu.plugins.loaders.yaml_converter import YamlConverter
     yaml = YamlConverter()
     template_check = pu.is_template_param(yfile)
     yfile = template_check[1] if template_check is not False else yfile
     yaml.parameters = {'yaml_file': yfile}
     return yaml.setup(template=True)