Functions | |
def | add_campaign |
def | copy_default_templates |
def | get_first_match |
def | main |
Variables | |
tuple | required_version = (2,7) |
def mps_setup_new_align.add_campaign | ( | campaign_file, | |
campaign, | |||
args | |||
) |
Adds a line with campaign information from `args` to `campaign_file`. Arguments: - `campaign_file`: output file - `campaign`: name of the campaign - `args`: command line arguments for this campaign
Definition at line 139 of file mps_setup_new_align.py.
References split.
Referenced by main().
def mps_setup_new_align.copy_default_templates | ( | MPS_dir, | |
next_campaign | |||
) |
Copies the default configuration templates. Arguments: - `MPS_dir`: location of the default templates - `next_campaign`: destination for the copy operation
Definition at line 184 of file mps_setup_new_align.py.
Referenced by main().
def mps_setup_new_align.get_first_match | ( | regex, | |
directory | |||
) |
Checks if `directory` matches `regex` and returns the first match converted to an integer. If it does not match -1 is returned. Arguments: - `regex`: Regular expression to be tested against - `directory`: name of the directory under test
Definition at line 122 of file mps_setup_new_align.py.
Referenced by main().
def mps_setup_new_align.main | ( | argv = None | ) |
Main routine of the script. Arguments: - `argv`: arguments passed to the main routine
Definition at line 28 of file mps_setup_new_align.py.
References add_campaign(), helper.checked_out_MPS(), copy_default_templates(), get_first_match(), and join().
tuple mps_setup_new_align.required_version = (2,7) |
Definition at line 19 of file mps_setup_new_align.py.