inputs
#
Helpers for loading inputs from a standard directory structure.
Modules:
-
femto
–A comprehensive toolkit for predicting free energies
Classes:
-
Structure
–A basic representation of a single structure (i.e. a ligand or a receptor).
-
Edge
–A basic representation of an edge in a free energy network.
-
Network
–A basic definition of a free energy network of edges.
Functions:
-
find_edges
–Attempts to find the input files for a network free energy 'edges' in the
Structure
#
A basic representation of a single structure (i.e. a ligand or a receptor).
Attributes:
Edge
#
A basic representation of an edge in a free energy network.
Attributes:
Network
#
A basic definition of a free energy network of edges.
Methods:
-
find_edge
–Find an edge in the network.
Attributes:
find_edge
#
find_edge(
ligand_1: str, ligand_2: str | None = None
) -> Edge
Find an edge in the network.
Parameters:
-
ligand_1
(str
) –The name of the first ligand.
-
ligand_2
(str | None
, default:None
) –The name of the second ligand.
Returns:
-
Edge
–The edge.
Source code in femto/fe/inputs.py
find_edges
#
find_edges(
root_dir: Path,
config_cls: type[Network] = Network,
config_path: Path | None = None,
) -> Network
Attempts to find the input files for a network free energy 'edges' in the standard directory structure.
Parameters:
-
root_dir
(Path
) –The root of the directory structure.
-
config_cls
(type[Network]
, default:Network
) –The class to use to parse the
'edges.yaml'
file if present. -
config_path
(Path | None
, default:None
) –The path to the file defining the edges to run.