Kindfield
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
Variables
run_app Namespace Reference

Variables

tuple parser = ArgumentParser()
 
tuple args = parser.parse_args()
 
tuple output_dir = os.path.abspath("tmp")
 
tuple current_path = os.path.dirname(os.path.realpath(__file__))
 
tuple config_file = os.path.abspath(argv[1])
 
tuple output_file = os.path.join(output_dir, os.path.split(config_file)[-1])
 
tuple build_path = os.path.abspath(os.path.join(current_path, "..", "..", "build-app"))
 
tuple project_path = os.path.abspath(os.path.join(current_path, ".."))
 
tuple devnull = open('/dev/null', 'w')
 
tuple app_path = os.path.join(build_path, "app")
 
tuple lib_path = os.path.join(build_path, "src")
 
tuple env = dict(os.environ)
 
list run_argument = ["./hartree-fock", config_file, output_dir]
 
tuple proc = subprocess.call(run_argument, cwd=app_path, env=env)
 

Variable Documentation

tuple run_app.app_path = os.path.join(build_path, "app")

Definition at line 43 of file run_app.py.

tuple run_app.args = parser.parse_args()

Definition at line 14 of file run_app.py.

tuple run_app.build_path = os.path.abspath(os.path.join(current_path, "..", "..", "build-app"))

Definition at line 34 of file run_app.py.

tuple run_app.config_file = os.path.abspath(argv[1])

Definition at line 30 of file run_app.py.

tuple run_app.current_path = os.path.dirname(os.path.realpath(__file__))

Definition at line 25 of file run_app.py.

tuple run_app.devnull = open('/dev/null', 'w')

Definition at line 39 of file run_app.py.

tuple run_app.env = dict(os.environ)

Definition at line 46 of file run_app.py.

tuple run_app.lib_path = os.path.join(build_path, "src")

Definition at line 44 of file run_app.py.

tuple run_app.output_dir = os.path.abspath("tmp")

Definition at line 16 of file run_app.py.

tuple run_app.output_file = os.path.join(output_dir, os.path.split(config_file)[-1])

Definition at line 32 of file run_app.py.

tuple run_app.parser = ArgumentParser()

Definition at line 11 of file run_app.py.

tuple run_app.proc = subprocess.call(run_argument, cwd=app_path, env=env)

Definition at line 50 of file run_app.py.

tuple run_app.project_path = os.path.abspath(os.path.join(current_path, ".."))

Definition at line 35 of file run_app.py.

list run_app.run_argument = ["./hartree-fock", config_file, output_dir]

Definition at line 49 of file run_app.py.