Top Level Namespace

Included Modules

Extended Modules

Defined in:

Constant Summary

AQUA = Colorize::ColorRGB.new(0, 255, 255)
ELECTRIC_BLUE = Colorize::ColorRGB.new(30, 144, 255)
GREEN = Colorize::ColorRGB.new(0, 163, 131)
ORANGE = Colorize::ColorRGB.new(255, 165, 0)
PURPLE = Colorize::ColorRGB.new(128, 0, 128)
RED = Colorize::ColorRGB.new(214, 69, 80)
TURQUOISE = Colorize::ColorRGB.new(64, 224, 208)
WHITE = Colorize::ColorRGB.new(255, 255, 255)
XTB_ENERGY_PATTERN = /\s*\|\s+TOTAL ENERGY\s+(\-?\d+\.\d+)\s+Eh\s+\|/
XTB_EXEC = "xtb"
YELLOW = Colorize::ColorRGB.new(255, 191, 0)

Method Summary

Method Detail

def abort(message : String, status : Int = 1) : NoReturn #

[View source]
def append_content(source_path : String, destination_path : String) #

Function to concatenate files


[View source]
def check_dependencies #

[View source]
def n_frames(dcd : String) #

[View source]
def print_banner #

[View source]
def rand_conf(input_mol : String) : Chem::Structure #

[View source]
def run(cmd : String, args : Array, output path : Path | String | Nil = nil, retries : Int = 1, env : Process::Env = nil) : Bool #

[View source]
def run_cmd(cmd : String, args : Array(String), output_file : Nil.class | String, stage : String | Colorize::Object(String), verbose : Bool = true) #

run_cmd is a function for general purpuse. e.g. To verify dependencies, to execute openbabel and python.


[View source]
def run_cmd(cmd : String, args : Array, output_file : String) #

[View source]
def run_cmd(cmd, args) #

[View source]
def run_cmd_silent(cmd : String, args : Array(String), output_file : Nil.class | String) #

[View source]
def run_cmd_version(cmd : String, args : Array(String)) : String #

[View source]
def run_namd(cmd : String, args : Array(String), output_file : String, stage : String | Colorize::Object(String), window : String) #

[View source]
def write_geometrical_data(st : Chem::Structure, index : Int64, pdb_names : Array(String), bonds_file : File, angles_file : File, dihedrals_file : File, hydrogen : Bool, printing_full : Bool) #

[View source]
def write_getidx(outfile : String) #

[View source]