meshflow.utility.templating.render_run_options_template

meshflow.utility.templating.render_run_options_template(run_options_dict, template_run_options_path='MESH_input_run_options.ini.jinja')

Render a run options configuration file using Jinja2 templates.

Parameters:
  • run_options_dict (dict) – Dictionary containing run options to be used in the template.

  • template_run_options_path (PathLike, optional) – Path to the Jinja2 template for run options.

Returns:

Rendered run options configuration file as a string.

Return type:

str

Raises: