module Chem::Templates
Defined in:
chem/templates.crchem/templates/atom.cr
Class Method Summary
-
.alias(new_name : String, to existing_name : String) : Nil
Registers an aliases to a known residue template into the global registry.
-
.load(filepath : Path | String) : Nil
Loads and registers the residue template(s) from a structure file or YAML file into the global registry.
-
.parse(filepath : String) : Nil
Parses and registers the residue templates encoded in the given YAML content into the global registry.
-
.register(structure : Structure) : Nil
Creates and registers a residue template from a structure into the global registry.
Class Method Detail
Registers an aliases to a known residue template into the global
registry. Refer to the Registry
documentation and
Registry#alias
for details.
Loads and registers the residue template(s) from a structure file or YAML file into the global registry.
Refer to the Registry
documentation and Registry#load
for more
information.
Parses and registers the residue templates encoded in the given YAML
content into the global registry. Refer to the Registry
documentation and Registry#parse
for details.
Creates and registers a residue template from a structure into the
global registry. Refer to the Registry
documentation and
Registry#register
for details.