ronswanson.script_generator module
- class ronswanson.script_generator.PythonGenerator(file_name: str, database_file: str, parameter_file: str, base_dir: str, import_line: str, n_procs: int, n_nodes: Optional[int] = None, linear_exceution: bool = False, has_complete_params: bool = False, current_size: int = 0, clean: bool = True)[source]
- Bases: - ScriptGenerator- __init__(file_name: str, database_file: str, parameter_file: str, base_dir: str, import_line: str, n_procs: int, n_nodes: Optional[int] = None, linear_exceution: bool = False, has_complete_params: bool = False, current_size: int = 0, clean: bool = True) None[source]
- Generate the python script that will be run - Parameters:
- file_name (str) – 
- database_file (str) – 
- parameter_file (str) – 
- base_dir (str) – 
- import_line (str) – 
- n_procs (int) – 
- n_nodes (Optional[int]) – 
- linear_exceution (bool) – 
 
- Returns:
 
 
- class ronswanson.script_generator.PythonGatherGenerator(file_name: str, database_file_name: str, current_size: int, n_outputs: int, num_meta_parameters: Optional[int] = None, clean: bool = True)[source]
- Bases: - ScriptGenerator