Rosetta
Functions | Variables
execute Namespace Reference

Functions

def smart_int (string)
 
def setup_hook ()
 

Variables

dictionary name_abbreviations
 
string default_name = 'sandbox'
 
string default_structure = 'structures/contrived/valine.6.pdb'
 
dictionary default_residues
 
 parser = argparse.ArgumentParser()
 
 default
 
 action
 
 dest
 
 type
 
 int
 
 nargs
 
 smart_int
 
 job = scripting.Job()
 
 arguments = parser.parse_args()
 
 residues
 
 pdb_string
 
string command = 'git', 'rev-parse', '--show-toplevel'
 
 output = check_output(command, stderr=devnull)
 
 rosetta_path = output.strip()
 
 rosetta_subpath = lambda subpath: os.path.join(rosetta_path, subpath)
 
 background
 
 overwrite
 
 foreground
 
 hook
 
 dry_run
 

Function Documentation

◆ setup_hook()

def execute.setup_hook ( )

References rosetta_subpath.

◆ smart_int()

def execute.smart_int (   string)
 Convert the given string to an integer.  Metric suffixes, if they are 
present, will be properly translated. 

References ObjexxFCL.get(), int, and smart_int.

Variable Documentation

◆ action

execute.action

◆ arguments

execute.arguments = parser.parse_args()

◆ background

execute.background

◆ command

execute.command = 'git', 'rev-parse', '--show-toplevel'

◆ default

execute.default

◆ default_name

string execute.default_name = 'sandbox'

◆ default_residues

dictionary execute.default_residues
Initial value:
1 = {
2  'structures/contrived/valine.6.pdb': (3, 3),
3  'structures/contrived/lysine.6.pdb': (3, 3),
4  'structures/benchmark/1srp.pdb': (308, 319)
5 }

◆ default_structure

string execute.default_structure = 'structures/contrived/valine.6.pdb'

◆ dest

execute.dest

◆ dry_run

execute.dry_run

Referenced by design_test(), and register_options().

◆ foreground

execute.foreground

◆ hook

execute.hook

◆ int

execute.int

Referenced by smart_int().

◆ job

execute.job = scripting.Job()

◆ name_abbreviations

dictionary execute.name_abbreviations
Initial value:
1 = {
2  'sandbox': 'jobs/sandbox',
3 }

◆ nargs

execute.nargs

◆ output

execute.output = check_output(command, stderr=devnull)

◆ overwrite

execute.overwrite

◆ parser

execute.parser = argparse.ArgumentParser()

◆ pdb_string

execute.pdb_string

◆ residues

execute.residues

◆ rosetta_path

execute.rosetta_path = output.strip()

◆ rosetta_subpath

execute.rosetta_subpath = lambda subpath: os.path.join(rosetta_path, subpath)

Referenced by setup_hook().

◆ smart_int

execute.smart_int

Referenced by smart_int().

◆ type

execute.type