Skip to content

Render

Assist with rendering templates

SLURM_TEMPLATE_PATH = os.path.join(DIR_TEMPLATE, 'workload_managers/job.sbatch') module-attribute

clean_render(render_string)

cli_renderer()

load_template(file_path)

slurm(subpex_config, file_name=None, save_dir=None)

Render slurm sbatch script.

PARAMETER DESCRIPTION
subpex_config

SubPEx context manager.

TYPE: SubpexConfig

file_name

Name for the file including the extension.

TYPE: str | None DEFAULT: None

save_dir

Directory to save rendered file.

TYPE: str | None DEFAULT: None

west_cfg(westpa_cm, file_name='west.cfg', save_dir='')

Writes west.cfg file for WESTPA simulations.